summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix some 32/64-bit bugs. IPv4 addresses are 32-bits, not longs. On theJohn Baldwin2002-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 Notes: svn path=/head/; revision=89084
* Correct phrase 'get an ACL' to 'set an ACL'.Chris D. Faulhaber2002-01-071-1/+1
| | | | | | | | PR: 33660 Submitted by: Rich Morin <rdm@cfcl.com>, Tom Rhodes <darklogik@pittgoth.com> Notes: svn path=/head/; revision=89028
* We are munmap(2), so there's no need to list ourselves in the SEE ALSODima Dorfman2002-01-071-1/+1
| | | | | | | | | | section; instead, list our partner in crime, mmap(2). PR: 33153 Submitted by: Faried Nawaz <fn@hungry.org> Notes: svn path=/head/; revision=88985
* Nuke the paragraph that says "One can obtain user connection requestDima Dorfman2002-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> Notes: svn path=/head/; revision=88984
* Suggest using memmove(3) if src and dst may overlap.Dima Dorfman2002-01-071-2/+7
| | | | | | | | PR: 33298 Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au> Notes: svn path=/head/; revision=88983
* All information from the "BUGS" section not belonging in "SECURITYChris Costello2002-01-062-48/+34
| | | | | | | | | | CONSIDERATIONS" moved to "COMPATIBILITY". Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=88973
* Add new "SECURITY CONSIDERATIONS" sections.Chris Costello2002-01-063-0/+48
| | | | | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=88971
* Add a new `SECURITY CONSIDERATIONS' section. Sample code similar toChris Costello2002-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 Notes: svn path=/head/; revision=88940
* Include a section cross-reference to `EXAMPLES' in `SECURITYChris Costello2002-01-051-1/+3
| | | | | | | | | | CONSIDERATIONS' as a source for relevant sample code. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=88939
* Remove the example from SECURITY CONSIDERATIONS. This is mostlyChris Costello2002-01-051-54/+0
| | | | | | | | | | duplicated code from EXAMPLES. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=88938
* Minor grammar and punctuation fixesYaroslav Tykhiy2002-01-041-2/+2
| | | | | | | in the SO_ACCEPTFILTER description. Notes: svn path=/head/; revision=88886
* State clearly that one should call listen(2) on a socketYaroslav Tykhiy2002-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. Notes: svn path=/head/; revision=88885
* Copy the sample `SECURITY CONSIDERATIONS' section from sec-doc.7.Chris Costello2002-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 Notes: svn path=/head/; revision=88830
* Connect user trap code to the build.Jake Burkholder2002-01-011-0/+3
| | | | Notes: svn path=/head/; revision=88795
* Add libc side of user trap handling.Jake Burkholder2002-01-017-0/+423
| | | | | | | | | Add support for handling floating point disabled traps mostly in userland for the simple single threaded case. Not yet enabled by default. Implement __sparc_utrap_install as specified by the sparc abi. Notes: svn path=/head/; revision=88794
* Back out errno preservingAndrey A. Chernov2001-12-307-47/+12
| | | | Notes: svn path=/head/; revision=88681
* Make sure curbrk is well aligned.Jake Burkholder2001-12-291-0/+1
| | | | Notes: svn path=/head/; revision=88614
* Use jmpbuf offsets, not ucontext_t.Jake Burkholder2001-12-291-3/+2
| | | | Notes: svn path=/head/; revision=88613
* Add .register directives for gcc3.Jake Burkholder2001-12-291-13/+42
| | | | | | | | | Adapt to jmpbuf no longer being a ucontext_t. Restore the context "by hand" in longjmp and call sigprocmask, instead of just using sigreturn. Notes: svn path=/head/; revision=88612
* __infinity is not const.Jake Burkholder2001-12-291-1/+1
| | | | Notes: svn path=/head/; revision=88611
* Add jmpbuf offsets. Remove ucontext offsets.Jake Burkholder2001-12-291-9/+8
| | | | Notes: svn path=/head/; revision=88610
* Add .register directives for gcc3.Jake Burkholder2001-12-291-6/+11
| | | | | | | | Adapt to jmpbuf no longer being a ucontext_t. Call abort if longjmperror returns. Notes: svn path=/head/; revision=88609
* Include utrap.h for soft trap types.Jake Burkholder2001-12-291-1/+1
| | | | Notes: svn path=/head/; revision=88608
* We use HIDENAME(minbrk) on sparc64 too.Jake Burkholder2001-12-291-1/+1
| | | | Notes: svn path=/head/; revision=88607
* Add xref to jail(2).Mike Pritchard2001-12-281-1/+2
| | | | | | | | PR: docs/33177 Submitted by: Tom Rhodes <darklogik@pittgoth.com> Notes: svn path=/head/; revision=88573
* - Make it possible to turn on RES_INSECURE[12] with /etc/resolv.conf.Hajimu UMEMOTO2001-12-262-1/+13
| | | | | | | | | | | - Don't connect datagram socket if RES_INSECURE1. - Needed to implement IPv6 anycast UDP DNS queries as documented in <draft-ietf-ipngwg-dns-discovery-03.txt>. Obtained from: KAME Notes: svn path=/head/; revision=88504
* Add "except the handling of errors" into "equivalent to" paragraph.Andrey A. Chernov2001-12-253-0/+8
| | | | | | | | Pointed by: bde Inspired by: POSIX Notes: svn path=/head/; revision=88472