summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* htonl() and ntohl() operate on unsinged types, so they must zero-extend,Thomas Moestl2002-04-062-2/+2
| | | | | | | | not sign-extend. Fix a comment in the former to that effect, and change the latter over to do the right conversion. Notes: svn path=/head/; revision=93913
* Initial deorbit burn for the undocumented and unused d_boot[01]Poul-Henning Kamp2002-04-031-5/+0
| | | | | | | | | fields of struct disklabel. Sponsored by: DARPA and NAI Labs. Notes: svn path=/head/; revision=93723
* When _kevent() returns with errno = EINTR and timeout is notHajimu UMEMOTO2002-04-011-4/+3
| | | | | | | | | exceeded, it should be falldown to next_ns. MFC after: 1 week Notes: svn path=/head/; revision=93544
* Do not use __progname directly (except in [gs]etprogname(3)).Mark Murray2002-03-2913-32/+49
| | | | | | | | | Also, make an internal _getprogname() that is used only inside libc. For libc, getprogname(3) is a weak symbol in case a function of the same name is defined in userland. Notes: svn path=/head/; revision=93399
* Embellish more.David E. O'Brien2002-03-261-1/+1
| | | | Notes: svn path=/head/; revision=93254
* Embellish the comment.David E. O'Brien2002-03-261-2/+4
| | | | Notes: svn path=/head/; revision=93253
* Fixed some style bugs in the removal of __P(()). Some function parameterBruce Evans2002-03-261-1/+1
| | | | | | | lists were outdented to column 0. Notes: svn path=/head/; revision=93189
* A break after a return is useless.Dima Dorfman2002-03-241-1/+0
| | | | Notes: svn path=/head/; revision=93082
* Fix braino.Dima Dorfman2002-03-241-1/+1
| | | | Notes: svn path=/head/; revision=93081
* Update comments. We uniformly use __FBSDID in libc now.David E. O'Brien2002-03-231-5/+5
| | | | Notes: svn path=/head/; revision=93048
* W/o __P, the internal declarations will all fit on one line.David E. O'Brien2002-03-231-6/+3
| | | | Notes: svn path=/head/; revision=93039
* Remove these abortive MIPS bits.David E. O'Brien2002-03-2362-2856/+0
| | | | Notes: svn path=/head/; revision=93033
* Breath deep and take __P out of the system include files.Warner Losh2002-03-231-7/+7
| | | | | | | | | # This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure. Notes: svn path=/head/; revision=93032
* Standardize on our SCM ID style.David E. O'Brien2002-03-2326-121/+36
| | | | Notes: svn path=/head/; revision=93000
* Restore CSRG ID's lost in January 1995.David E. O'Brien2002-03-2346-175/+235
| | | | Notes: svn path=/head/; revision=92999
* Fix the style of the SCM ID's.David E. O'Brien2002-03-2229-25/+35
| | | | | | | I believe have made all of libc .h's as consistent as possible. Notes: svn path=/head/; revision=92991
* Fix the style of the SCM ID's.David E. O'Brien2002-03-2254-117/+138
| | | | | | | I believe have made all of libc .c's as consistent as possible. Notes: svn path=/head/; revision=92990
* Fix the style of the SCM ID's.David E. O'Brien2002-03-221-1/+2
| | | | | | | I believe have made all of libc .h's as consistent as possible. Notes: svn path=/head/; revision=92989
* Fix the style of the SCM ID's.David E. O'Brien2002-03-22408-795/+970
| | | | | | | I believe have made all of libc .c's as consistent as possible. Notes: svn path=/head/; revision=92986
* 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