summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Allow ldd(1) be used on shared libraries in addition to executables.Maxim Sobolev2002-02-041-0/+7
| | | | Notes: svn path=/head/; revision=90172
* Fixed tab lossage in vendor id and nearby style bugs in previous commit.Bruce Evans2002-02-011-1/+4
| | | | Notes: svn path=/head/; revision=90096
* Fixed syntax error in previous commit. It was non-fatal because it wasBruce Evans2002-02-011-3/+5
| | | | | | | | | | in conditional code that happens not to be compiled, and because gcc doesn't complain garbage after #endif by default. Fixed some style bugs in previous commit, 1.8 and 1.1. Notes: svn path=/head/; revision=90095
* Return ENONAME if getaddrinfo() is called with AI_NUMERICHOSTPeter Pentchev2002-02-011-1/+1
| | | | | | | | | | | | and the hostname given is not numeric. PR: 34390 Submitted by: Serge van den Boom <svdb@stack.nl> Approved by: silence from -net MFC after: 1 month Notes: svn path=/head/; revision=90053
* Fixed slipage in editor.David E. O'Brien2002-02-011-0/+1
| | | | Notes: svn path=/head/; revision=90050
* Cut-n-paste in `list' mode considered harmful.David E. O'Brien2002-02-012-5/+5
| | | | Notes: svn path=/head/; revision=90049
* * Remove __P and convert to ANSI prototypes.David E. O'Brien2002-02-012-19/+17
| | | | | | | | * Remove 'register'. (some functions had 7+ register functions...) * Fix SCM ID's. Notes: svn path=/head/; revision=90046
* * Remove __P and convert to ANSI prototypes.David E. O'Brien2002-02-0116-264/+245
| | | | | | | | * Remove 'register'. (some functions had 7+ register functions...) * Fix SCM ID's. Notes: svn path=/head/; revision=90045
* * Remove 'register'. (some functions had 7+ register functions...)David E. O'Brien2002-02-0116-68/+77
| | | | | | | * Fix SCM ID's. Notes: svn path=/head/; revision=90041
* Fix SCM ID's.David E. O'Brien2002-02-0162-207/+166
| | | | Notes: svn path=/head/; revision=90039
* Fix minor style nit.David E. O'Brien2002-01-311-1/+3
| | | | Notes: svn path=/head/; revision=90030
* Revert last commit. stdio.h include is for perror(), not strerror()Chris D. Faulhaber2002-01-311-1/+1
| | | | Notes: svn path=/head/; revision=90021
* strerror(3) is in string.h, not stdio.hChris D. Faulhaber2002-01-311-1/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=90017
* Fixed world breakage due to missing include of <sys/cdefs.h> in previousBruce Evans2002-01-314-5/+17
| | | | | | | | | | | | | | | commit. Fixed related style bugs: basename.c: misplaced '#if 0' dirname.c: misplaced '#if 0' getgrent.c: missing '#if 0', and tab lossage in vendor id (the previous commit fixed the complete corruption of the vendor id but lost a tab) getpwent.c: missing '#if 0' Notes: svn path=/head/; revision=90016
* Fix FreeBSD IDs.David E. O'Brien2002-01-305-15/+12
| | | | Notes: svn path=/head/; revision=89999
* Correct function's description.Chris D. Faulhaber2002-01-291-1/+1
| | | | | | | Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=89953
* Do not try to convert to char already converted C monetary locale members.Andrey A. Chernov2002-01-282-28/+40
| | | | | | | Do this conversion on locale load stage instead. Notes: svn path=/head/; revision=89907
* o return EINVAL if acl_to_text() have been sent a NULL acl. ↵Chris D. Faulhaber2002-01-261-1/+6
| | | | | | | | | o update copyright dates. Reviewed by: rwatson Notes: svn path=/head/; revision=89831
* Use ctime_r to build the timestamp for syslog, so that we don'tDavid Malone2002-01-251-2/+2
| | | | | | | | | | | clobber a ctime buffer which is passed in. PR: 34022 Submitted by: Hartmut Brandt <brandt@fokus.gmd.de> MFC after: 2 weeks Notes: svn path=/head/; revision=89805
* get __time_load_locale() prototype from include file, rather than declareAlexey Zelkin2002-01-241-3/+2
| | | | | | | own Notes: svn path=/head/; revision=89739
* * style(9)'fyAlexey Zelkin2002-01-242-33/+34
| | | | | | | * declare prototype for __time_load_locale() in timelocal.h Notes: svn path=/head/; revision=89736
* Change brk's prototype from char *brk(const char *) to int brk(const void *)David Malone2002-01-241-15/+7
| | | | | | | | | | | | | | | | | | and sbrk's prototype from char *sbrk(int) to void *sbrk(intptr_t). This makes us more consistant with NetBSD and standards which include these functions. Bruce pointed out that ptrdiff_t would probably have been better than intptr_t, but this doesn't match other implimentations. Also remove local declarations of sbrk and unnecessary casting. PR: 32296 Tested by: Harti Brandt <brandt@fokus.gmd.de> MFC after: 1 month Notes: svn path=/head/; revision=89732
* The sixth argument to the NET_RT_IFLIST sysctl is actually 0 forRuslan Ermilov2002-01-231-1/+1
| | | | | | | all interfaces, and ifnet.if_index value for a single interface. Notes: svn path=/head/; revision=89700
* Restore C99 standard conformance information, isblank() _is_ in finalAndrey A. Chernov2002-01-221-0/+5
| | | | | | | | | standard document Pointed by: "Jacques A. Vidrine" <n@nectar.cc> Notes: svn path=/head/; revision=89670
* Use the proper type (gid_t) for (group)->gr_gid to be orthogonalMark Murray2002-01-225-15/+16
| | | | | | | | | with uid_t usage and (user)->pw_uid. PR: 3242 Notes: svn path=/head/; revision=89663
* Fix the description of the O_NONBLOCK flag to match reality.Ruslan Ermilov2002-01-221-2/+1
| | | | | | | | Prodded by: Maxim Konovalov <maxim@macomnet.ru> Obtained from: BSD/OS Notes: svn path=/head/; revision=89650
* Fix a typo I made in revision 1.5.Ruslan Ermilov2002-01-221-1/+1
| | | | | | | Submitted by: trevor Notes: svn path=/head/; revision=89647
* Minor typo fix: uquad_t -> u_quad_t.Yaroslav Tykhiy2002-01-201-1/+1
| | | | Notes: svn path=/head/; revision=89585
* I've been meaning to do this for a while. Add an underscore to theMatthew Dillon2002-01-191-12/+12
| | | | | | | | | | | time_to_xxx() and xxx_to_time() functions. e.g. _time_to_xxx() instead of time_to_xxx(), to make it more obvious that these are stopgap functions & placemarkers and not meant to create a defacto standard. They will eventually be replaced when a real standard comes out of committee. Notes: svn path=/head/; revision=89572
* mdoc(7) police: tidy up OpenBSD fixes.Ruslan Ermilov2002-01-161-7/+5
| | | | Notes: svn path=/head/; revision=89428
* Add a few cleanups from rev 1.1:Mike Barcroft2002-01-151-10/+12
| | | | | | | | | | | o Restore vendor ID. o Order variable types by size. o Remove a gratuitous temporary variable. Submitted by: bde Notes: svn path=/head/; revision=89400
* o Add prototype for printf(3).Mike Barcroft2002-01-151-9/+12
| | | | | | | | | | style(9): o Order variables in declarations. o Move initialization out of declaration. o Fix over-indents in previous delta. Notes: svn path=/head/; revision=89387
* style(9)Mike Barcroft2002-01-151-95/+63
| | | | | | | | Submitted by: Joseph Mallett <jmallett@xmach.org> Reviewed by: md5(1) Notes: svn path=/head/; revision=89385
* yp(4) -> yp(8).Ruslan Ermilov2002-01-145-8/+8
| | | | | | | PR: docs/30797 Notes: svn path=/head/; revision=89362
* Merge some updates and markup fixes from OpenBSD. This is mainlyCrist J. Clark2002-01-141-6/+30
| | | | | | | | | | motivated by the new "CAVEATS" section. Inspired by: alfred noting NetBSD's merging OpenBSD's changes Obtained from: OpenBSD Notes: svn path=/head/; revision=89323
* Add xref for timeradd(3).Doug White2002-01-141-0/+1
| | | | | | | PR: 13079 Notes: svn path=/head/; revision=89321
* Include <stddef.h> to fix build problem when namespace pollutionDaniel Eischen2002-01-111-7/+8
| | | | | | | | | | | | by <signal.h> (including <time.h> so that NULL is accidentally defined) is removed. Style nits. Submitted by: bde Notes: svn path=/head/; revision=89269
* Fixed unsorting and splitting of SRCS in previous commit.Bruce Evans2002-01-112-4/+4
| | | | Notes: svn path=/head/; revision=89267
* Fixed missing backslash in previous commit.Bruce Evans2002-01-111-1/+1
| | | | Notes: svn path=/head/; revision=89264
* Fixed accumulated unsorting and some other style bugs (long lines).Bruce Evans2002-01-111-11/+10
| | | | Notes: svn path=/head/; revision=89262
* Replaced bogus cross references by the usual one for the ctype familyBruce Evans2002-01-112-32/+2
| | | | | | | (ctype(3)). Notes: svn path=/head/; revision=89259
* Removed assertion that isblank() conforms to C90 too. This assertionBruce Evans2002-01-111-5/+0
| | | | | | | | | is correct but less than useful. There is some uncertainty about whether isblank() is in C99, but it is certainly not in C90. It just conforms to C89 because it is a conforming extension. Notes: svn path=/head/; revision=89258
* Fixed unsorting of almost all lists in previous commit.Bruce Evans2002-01-111-7/+4
| | | | | | | Removed assertion that isblank() is in C99 here too. Notes: svn path=/head/; revision=89257
* Fixed unsorting of MLINKS in previous commit.Bruce Evans2002-01-111-3/+3
| | | | | | | Fixed unsorting of SRCS in rev.1.18. Notes: svn path=/head/; revision=89255
* Remove assertion that isblank() is in C99, pointed out by ache.Nik Clayton2002-01-101-4/+0
| | | | Notes: svn path=/head/; revision=89202
* Add getcontext, setcontext, makecontext, and swapcontext. TheseDaniel Eischen2002-01-1011-1/+1035
| | | | | | | | | | | | functions are defined in SUSv2 and the latest POSIX spec. Thanks to Bernd Walter <ticso@cicely8.cicely.de> for helping debug my alpha assembly. Approved by: -arch Notes: svn path=/head/; revision=89177
* Document behaviour with respect to interval timers.Sheldon Hearn2002-01-091-0/+4
| | | | | | | | PR: 33156 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au> Notes: svn path=/head/; revision=89144
* mdoc(7) police: add missing markup bits for ``errno''.Ruslan Ermilov2002-01-093-3/+9
| | | | Notes: svn path=/head/; revision=89139
* mdoc(7) police:Ruslan Ermilov2002-01-095-6/+10
| | | | | | | Stop abusing the .%J macro for where the .Pa macro should have been used. Notes: svn path=/head/; revision=89138
* From the PR:Nik Clayton2002-01-0910-8/+98
| | | | | | | | | | | | | | | | | | | | | | | 1. ctype.h defines digittoint(), isnumber() and ishexnmber(), yet they are not documented in any of the manpages. 2. The ctype manpage references a non-existent manpage for digittoint(). 3. The isascii() manpage claims it is standards compliant, when it isn't. 4. isblank() claims it is _not_ standards compliant, when it is. Fix by including the appropriate .Nm entries, and with a new digittoint.3 page. PR: docs/26451 Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com> Notes: svn path=/head/; revision=89136