summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Back out last commit (rev 1.2). I thought I caught this file in timeDavid E. O'Brien2002-03-221-1/+1
| | | | | | | when deP'ing. But I guess not. Notes: svn path=/head/; revision=92971
* Constify the first arg to callrpc(3).Alfred Perlstein2002-03-221-1/+1
| | | | Notes: svn path=/head/; revision=92968
* SCM ID tweak.David E. O'Brien2002-03-222-2/+0
| | | | Notes: svn path=/head/; revision=92942
* Remove multi-line __P() usage.David E. O'Brien2002-03-2223-76/+68
| | | | Notes: svn path=/head/; revision=92941
* const poison just like NetBSD.Warner Losh2002-03-221-32/+14
| | | | Notes: svn path=/head/; revision=92925
* Make user_from_uid and group_from_gid return const char *, just likeWarner Losh2002-03-222-4/+4
| | | | | | | NetBSD. Update man page to reflect this. Notes: svn path=/head/; revision=92924
* Remove __P() usage.David E. O'Brien2002-03-21106-532/+552
| | | | Notes: svn path=/head/; revision=92905
* Remove 'register' keyword.David E. O'Brien2002-03-21137-879/+927
| | | | Notes: svn path=/head/; revision=92889
* Move swapcontext.c to the ${MACHINE_ARCH}/gen/Makefile.inc area, otherwisePeter Wemm2002-03-214-4/+4
| | | | | | | | it causes undefined references to getcontext() and setcontext() on platforms other than i386 and alpha. Notes: svn path=/head/; revision=92862
* mdoc(7) police: Fixed the spammage of this file with trailing whitespacesRuslan Ermilov2002-03-201-21/+20
| | | | | | | | in revisions 1.26-1.28. Fixed two bugs in punctuation cleanup in rev. 1.27. Removed hard sentence break not killed by rev. 1.26. Notes: svn path=/head/; revision=92797
* mdoc(7) police: tidy up.Ruslan Ermilov2002-03-181-8/+8
| | | | Notes: svn path=/head/; revision=92590
* mdoc(7) police: bump document date to the date of the last interfaceDima Dorfman2002-03-181-3/+6
| | | | | | | | change (revision 1.2 of devname.c on 1999/07/18), don't put quotes around a path, and use .Dv where appropriate. Notes: svn path=/head/; revision=92531
* Update to reflect reality; devname(3) hasn't returned NULL on failureDima Dorfman2002-03-181-6/+18
| | | | | | | | since revision 1.2 of devname.c (1999/07/18). While I'm here, note, in the BUGS section, that the returned pointer is to a static buffer. Notes: svn path=/head/; revision=92530
* Features are deprecated, not depreciated.Dima Dorfman2002-03-181-1/+1
| | | | | | | | PR: 35987 Submitted by: shill@free.fr Notes: svn path=/head/; revision=92524
* Document PT_IO, and move the comment about machine-dependent requestsDag-Erling Smørgrav2002-03-161-5/+33
| | | | | | | below PT_[GS]ET_{,DB,FP}REGS. Notes: svn path=/head/; revision=92399
* Further cleanup (punctuation, genitive)Dag-Erling Smørgrav2002-03-161-18/+27
| | | | Notes: svn path=/head/; revision=92397
* Insert newlines between sentences and rewrap paragraphs. No changes toDag-Erling Smørgrav2002-03-161-31/+40
| | | | | | | the actual text or markup. Notes: svn path=/head/; revision=92396
* mdoc(7) police: hard sentence breaks, whitespace at EOL, contractions.Ruslan Ermilov2002-03-151-10/+18
| | | | Notes: svn path=/head/; revision=92355
* mdoc(7) police: Fix xref to timeradd(3).Ruslan Ermilov2002-03-151-1/+1
| | | | Notes: svn path=/head/; revision=92354
* mdoc(7) police: punctuation nit.Ruslan Ermilov2002-03-151-2/+1
| | | | Notes: svn path=/head/; revision=92353
* bde got caught by mdoc(7) police. :-)Ruslan Ermilov2002-03-152-2/+2
| | | | Notes: svn path=/head/; revision=92352
* mdoc(7) police: don't you notice the warnings?Ruslan Ermilov2002-03-151-1/+0
| | | | Notes: svn path=/head/; revision=92351
* Come on guys, you can't just take OpenBSD manpage and commit itRuslan Ermilov2002-03-151-30/+41
| | | | | | | | | | | | over someone else's fixes; this is at least offensive. If you have problems doing a proper merge, we are here, your fellow committers. :-( Reapply markup fixes from revision 1.2 and fix some more. Also fix the $OpenBSD$ tag. Notes: svn path=/head/; revision=92350
* Remove trailing characters from #endif.David E. O'Brien2002-03-151-3/+0
| | | | | | | Actually this #endif is not needed, so remove leading characters also. Notes: svn path=/head/; revision=92319
* Clarify fcntl(2) and flock(2) interoperability.Maxim Konovalov2002-03-141-1/+7
| | | | | | | | | | PR: docs/23353 Reviewed by: ru, dillon Approved by: ru MFC after: 3 days Notes: svn path=/head/; revision=92269
* Fix some bugs that would prevent %fsr to be set correctly, and addThomas Moestl2002-03-114-8/+25
| | | | | | | | | | | | support for fcmp and fcmpe instructions with a condition code specification other than %fcc0. This (primarily the first part) seems to fix a lot of problems that people were seeing, e.g. perl and gawk failures. Reported and analyzed by: wollman Notes: svn path=/head/; revision=92055
* Account for <machine/fsr.h> no longer being usable for assembler code.Thomas Moestl2002-03-112-2/+6
| | | | Notes: svn path=/head/; revision=92054
* Fix __dtoul to work on sparc64 (it used a half-way v8 stack layout),Thomas Moestl2002-03-111-13/+13
| | | | | | | and make it PIC-aware. Notes: svn path=/head/; revision=92053
* Save/restore the %y register around calls to the C user trap handler;Thomas Moestl2002-03-111-0/+4
| | | | | | | | | gcc emits the deprecated sparc v8 instructions that use this register when optimizing for UltraSparc machines because they are apparetly faster then their v9 counterpars there. Notes: svn path=/head/; revision=92049
* cosmetic: spell 'cashe' as 'cache'Bill Fumerola2002-03-103-3/+3
| | | | Notes: svn path=/head/; revision=91999
* Don't refer the reader to look for a word that doesn't exist anywhereDima Dorfman2002-03-101-1/+3
| | | | | | | | | | else in the page. PR: 35623 Submitted by: Gary W. Swearingen <swear@blarg.net> Notes: svn path=/head/; revision=91995
* If syslog fails to talk to syslogd, then it tries to write a messageDavid Malone2002-03-091-4/+4
| | | | | | | | | | | | | | to the console in a final attempt to log something. Make this final attempt non-blocking so that a blocking console doesn't end up blocking process which attempt to syslog something. In particular, this means you should be able to su and fix the problem if the console becomes blocking. MFC after: 3 weeks Notes: svn path=/head/; revision=91940
* Correct a typo.Dima Dorfman2002-03-091-1/+1
| | | | | | | Submitted by: peter.kusenda@accenture.com Notes: svn path=/head/; revision=91935
* This API will appear in FreeBSD 4.6.Dima Dorfman2002-03-091-1/+1
| | | | Notes: svn path=/head/; revision=91930
* Bring a comment in line with the code, and fix some spelling errorsDima Dorfman2002-03-091-4/+3
| | | | | | | | | | while I'm here. PR: 35394 Submitted by: andrew@ugh.net.au Notes: svn path=/head/; revision=91925
* Fix build. I commented out getpass() in readpassphrase.c because theBrian Feldman2002-03-091-3/+3
| | | | | | | | | | | | implementation did not match our manpage description (i.e., it could return NULL). I mistakenly thought we were still using getpass.c because, for some reason, CVS never removed it from the tree. Pointy hat received from: alfred Kick in the groin to: CVS Notes: svn path=/head/; revision=91922
* Update readpassphrase(3)to the latest revisions. Changes are mainly dueBrian Feldman2002-03-082-57/+146
| | | | | | | | | | to return value constraints now changing as well as more intelligent handling of signals. Obtained from: OpenBSD Notes: svn path=/head/; revision=91913
* Improve punctuation consistency: all errors had a '.' after themRobert Watson2002-03-081-1/+1
| | | | | | | except ENOATTR. Notes: svn path=/head/; revision=91912
* Add new errno ``ENOATTR''.Brian Feldman2002-03-072-0/+5
| | | | Notes: svn path=/head/; revision=91814
* Add GETPID to the list of operations for which semctl(2) returns the value.Maxim Konovalov2002-03-061-1/+1
| | | | | | | | | Reviewed by: alfred, ru Approved by: ru MFC after: 3 days Notes: svn path=/head/; revision=91748
* Add a carriage return to each function declaration, and make use of ID tagEric Melville2002-03-061-8/+12
| | | | | | | | | macros. MFC after: 1 day Notes: svn path=/head/; revision=91725
* When multiple threads call atexit at the same time, some operations mustTor Egge2002-03-051-2/+28
| | | | | | | | | | | | | be serialized. A mutex is used to protect the critical regions. sbrk() and brk() are not thread safe. Replace use of sbrk() with a call to malloc to avoid race when one thread calls atexit while another thread calls malloc. Reviewed by: deischen Notes: svn path=/head/; revision=91697
* Add fpsetmask(). Needed to build miniperl.Jake Burkholder2002-03-052-2/+29
| | | | | | | Obtained from: netbsd Notes: svn path=/head/; revision=91663
* Fix a bug where siglongjmp would clobber the argument to return fromJake Burkholder2002-03-051-2/+2
| | | | | | | | | sigsetjmp. It would return the value of the signal flag, instead. Pointy hat to: jake Notes: svn path=/head/; revision=91662
* Connect the sparc64 userland fp emulator to the build.Thomas Moestl2002-03-051-0/+2
| | | | Notes: svn path=/head/; revision=91649
* Check if string is not NULL, not *string, before setting *string.Brian Feldman2002-02-271-2/+2
| | | | Notes: svn path=/head/; revision=91428
* Introduce a version field to `struct xucred' in place of one of theDima Dorfman2002-02-272-1/+5
| | | | | | | | | | | | | | | spares (the size of the field was changed from u_short to u_int to reflect what it really ends up being). Accordingly, change users of xucred to set and check this field as appropriate. In the kernel, this is being done inside the new cru2x() routine which takes a `struct ucred' and fills out a `struct xucred' according to the former. This also has the pleasant sideaffect of removing some duplicate code. Reviewed by: rwatson Notes: svn path=/head/; revision=91354
* use _GENERIC_DIRSIZ(dp) to avoid copying too much of the dirent overAlfred Perlstein2002-02-261-2/+2
| | | | | | | | the user supplied buffer. this can be a problem when the user doesn't supply a full dirent and we corrupt their memory. Notes: svn path=/head/; revision=91330
* Per POSIX <grp.h> doesn't require <sys/types.h>.Maxim Sobolev2002-02-251-1/+0
| | | | | | | Submitted by: ache Notes: svn path=/head/; revision=91245
* Add userland floating point emulator code for sparc64. This is a portThomas Moestl2002-02-2317-1/+3520
| | | | | | | | of the (never committed) in-kernel version (with some optimizations and cleanups), which in turn was ported from NetBSD. Notes: svn path=/head/; revision=91174