summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Fixed world breakage due to missing include of <sys/cdefs.h> in previousbde2002-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'
* Fix FreeBSD IDs.obrien2002-01-305-15/+12
|
* Correct function's description.jedgar2002-01-291-1/+1
| | | | Obtained from: TrustedBSD Project
* Do not try to convert to char already converted C monetary locale members.ache2002-01-282-28/+40
| | | | Do this conversion on locale load stage instead.
* o return EINVAL if acl_to_text() have been sent a NULL acl. ↵jedgar2002-01-261-1/+6
| | | | | | o update copyright dates. Reviewed by: rwatson
* Use ctime_r to build the timestamp for syslog, so that we don'tdwmalone2002-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
* get __time_load_locale() prototype from include file, rather than declarephantom2002-01-241-3/+2
| | | | own
* * style(9)'fyphantom2002-01-242-33/+34
| | | | * declare prototype for __time_load_locale() in timelocal.h
* Change brk's prototype from char *brk(const char *) to int brk(const void *)dwmalone2002-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
* The sixth argument to the NET_RT_IFLIST sysctl is actually 0 forru2002-01-231-1/+1
| | | | all interfaces, and ifnet.if_index value for a single interface.
* Restore C99 standard conformance information, isblank() _is_ in finalache2002-01-221-0/+5
| | | | | | standard document Pointed by: "Jacques A. Vidrine" <n@nectar.cc>
* Use the proper type (gid_t) for (group)->gr_gid to be orthogonalmarkm2002-01-225-15/+16
| | | | | | with uid_t usage and (user)->pw_uid. PR: 3242
* Fix the description of the O_NONBLOCK flag to match reality.ru2002-01-221-2/+1
| | | | | Prodded by: Maxim Konovalov <maxim@macomnet.ru> Obtained from: BSD/OS
* Fix a typo I made in revision 1.5.ru2002-01-221-1/+1
| | | | Submitted by: trevor
* Minor typo fix: uquad_t -> u_quad_t.yar2002-01-201-1/+1
|
* I've been meaning to do this for a while. Add an underscore to thedillon2002-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.
* mdoc(7) police: tidy up OpenBSD fixes.ru2002-01-161-7/+5
|
* Add a few cleanups from rev 1.1:mike2002-01-151-10/+12
| | | | | | | | o Restore vendor ID. o Order variable types by size. o Remove a gratuitous temporary variable. Submitted by: bde
* o Add prototype for printf(3).mike2002-01-151-9/+12
| | | | | | | style(9): o Order variables in declarations. o Move initialization out of declaration. o Fix over-indents in previous delta.
* style(9)mike2002-01-151-95/+63
| | | | | Submitted by: Joseph Mallett <jmallett@xmach.org> Reviewed by: md5(1)
* yp(4) -> yp(8).ru2002-01-145-8/+8
| | | | PR: docs/30797
* Merge some updates and markup fixes from OpenBSD. This is mainlycjc2002-01-141-6/+30
| | | | | | | motivated by the new "CAVEATS" section. Inspired by: alfred noting NetBSD's merging OpenBSD's changes Obtained from: OpenBSD
* Add xref for timeradd(3).dwhite2002-01-141-0/+1
| | | | PR: 13079
* Include <stddef.h> to fix build problem when namespace pollutiondeischen2002-01-111-7/+8
| | | | | | | | | by <signal.h> (including <time.h> so that NULL is accidentally defined) is removed. Style nits. Submitted by: bde
* Fixed unsorting and splitting of SRCS in previous commit.bde2002-01-112-4/+4
|
* Fixed missing backslash in previous commit.bde2002-01-111-1/+1
|
* Fixed accumulated unsorting and some other style bugs (long lines).bde2002-01-111-11/+10
|
* Replaced bogus cross references by the usual one for the ctype familybde2002-01-112-32/+2
| | | | (ctype(3)).
* Removed assertion that isblank() conforms to C90 too. This assertionbde2002-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.
* Fixed unsorting of almost all lists in previous commit.bde2002-01-111-7/+4
| | | | Removed assertion that isblank() is in C99 here too.
* Fixed unsorting of MLINKS in previous commit.bde2002-01-111-3/+3
| | | | Fixed unsorting of SRCS in rev.1.18.
* Remove assertion that isblank() is in C99, pointed out by ache.nik2002-01-101-4/+0
|
* Add getcontext, setcontext, makecontext, and swapcontext. Thesedeischen2002-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
* Document behaviour with respect to interval timers.sheldonh2002-01-091-0/+4
| | | | | PR: 33156 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
* mdoc(7) police: add missing markup bits for ``errno''.ru2002-01-093-3/+9
|
* mdoc(7) police:ru2002-01-095-6/+10
| | | | Stop abusing the .%J macro for where the .Pa macro should have been used.
* From the PR:nik2002-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>
* Fix some 32/64-bit bugs. IPv4 addresses are 32-bits, not longs. On thejhb2002-01-081-8/+12
| | | | | | | | alpha these bugs didn't cause any problems because it was little endian, but on sparc64, we ended up with garbage for the IP address when we tried to contact the server. (Usually 3.253.0.0) Not objected to by: wpaul
* Correct phrase 'get an ACL' to 'set an ACL'.jedgar2002-01-071-1/+1
| | | | | PR: 33660 Submitted by: Rich Morin <rdm@cfcl.com>, Tom Rhodes <darklogik@pittgoth.com>
* We are munmap(2), so there's no need to list ourselves in the SEE ALSOdd2002-01-071-1/+1
| | | | | | | section; instead, list our partner in crime, mmap(2). PR: 33153 Submitted by: Faried Nawaz <fn@hungry.org>
* Nuke the paragraph that says "One can obtain user connection requestdd2002-01-071-17/+0
| | | | | | | | | data without confirming the connection by issuing a recvmsg(2) [...]". There's no such code in the kernel. PR: 26861 Submitted by: Richard A Steenbergen <ras@e-gerbil.net>, Tom Rhodes <darklogik@pittgoth.com>
* Suggest using memmove(3) if src and dst may overlap.dd2002-01-071-2/+7
| | | | | PR: 33298 Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au>
* All information from the "BUGS" section not belonging in "SECURITYchris2002-01-062-48/+34
| | | | | | | CONSIDERATIONS" moved to "COMPATIBILITY". Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Add new "SECURITY CONSIDERATIONS" sections.chris2002-01-063-0/+48
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Add a new `SECURITY CONSIDERATIONS' section. Sample code similar tochris2002-01-051-0/+63
| | | | | | | | | the first revision of strcpy(3)'s section is included, but should be removed as the Security Architecture document is committed and completed. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Include a section cross-reference to `EXAMPLES' in `SECURITYchris2002-01-051-1/+3
| | | | | | | CONSIDERATIONS' as a source for relevant sample code. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Remove the example from SECURITY CONSIDERATIONS. This is mostlychris2002-01-051-54/+0
| | | | | | | duplicated code from EXAMPLES. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Minor grammar and punctuation fixesyar2002-01-041-2/+2
| | | | in the SO_ACCEPTFILTER description.
* State clearly that one should call listen(2) on a socketyar2002-01-041-0/+11
| | | | | | at first and try to set an accept_filter(9) on it only after that. Also document errno value that will be set if installing the filter on a non-listening socket.
* Copy the sample `SECURITY CONSIDERATIONS' section from sec-doc.7.chris2002-01-021-0/+66
| | | | | | | | This will be trimmed as the FreeBSD Security Architecture document is fleshed out and committed. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
OpenPOWER on IntegriCloud