aboutsummaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create branch 'RELENG_4_9'.cvs2svn2003-10-224-421/+0
| | | | Notes: svn path=/releng/4.9/; revision=121369
* MFC: 1.17, 1.18, 1.24, 1.28.Ruslan Ermilov2003-09-261-10/+74
| | | | | | | | Urged by: Sergey Benner <sigurd@sunbay.com> Approved by: re (blanket) Notes: svn path=/stable/4/; revision=120458
* MFC of revision 1.22:Ollivier Robert2003-09-171-0/+4
| | | | | | | | | | | | Document the fact that send(2) can return EPIPE (like when a socket is not connected). PR: docs/56683 Submitted by: Chris S.J. Peron <maneo@bsdpro.com> Approved by: re (bmah) Notes: svn path=/stable/4/; revision=120160
* MFC: sync with NetBSD -- sl_add() now returns an int.David E. O'Brien2003-08-282-26/+40
| | | | | | | Approved by: murray Notes: svn path=/stable/4/; revision=119540
* MFC revision 1.22: When size is 1 should just null terminate the string.Kelly Yancey2003-08-271-3/+5
| | | | | | | | | | | | | This fix has the side effect of making vsnprintf() properly return the length of the string that would have been created if the buffer were infinite length when the passed size is 1. Previously, it would erroniously return 0 which causes auto-extending sbufs to misbehave in userland apps linked against libsbuf. Approved by: re (jhb) Notes: svn path=/stable/4/; revision=119505
* MFC: add support for using kqueue to watch bpf sockets.John-Mark Gurney2003-08-211-1/+8
| | | | | | | | | | | v1.33 lib/libc/sys/kqueue.2 v1.113 sys/net/bpf.c v1.23 sys/net/bpfdesc.h Submitted by: Brian Buchanan of nCircle Notes: svn path=/stable/4/; revision=119251
* MFC: Makefile.inc 1.33, index(3) 1.8 + 1.9, rindex(3) 1.9,Simon L. B. Nielsen2003-08-125-210/+62
| | | | | | | | | | | | | | strchr(3) 1.9 + 1.10, strrchr(3) 1.10 * Merge index(3) and rindex(3) to index(3) since the two functions are almost identical. * Merge strchr(3) and strrchr(3) to strchr(3) since the two functions are almost identical. * Make the wording of index(3) and strchr(3) more similar. * mdoc(7) cleanup. Notes: svn path=/stable/4/; revision=118843
* MFC: Remove bogus "temporary" gethostbyaddr_r implementationKris Kennaway2003-08-111-21/+0
| | | | Notes: svn path=/stable/4/; revision=118758
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2003-08-103-0/+305
| | | | Notes: svn path=/stable/4/; revision=118724
* MFC: Revision 1.23: Document ENOSPC.Tom Rhodes2003-08-101-0/+2
| | | | Notes: svn path=/stable/4/; revision=118716
* MFC revision 1.24Diomidis Spinellis2003-08-061-0/+6
| | | | | | | | | Document EACCESS error return value on non-Unix domain sockets. Reviewed by: schweikh (mentor) Notes: svn path=/stable/4/; revision=118565
* MFC rev. 1.9: strmode(3) returns void not 0.Maxim Konovalov2003-07-081-5/+0
| | | | Notes: svn path=/stable/4/; revision=117331
* MFC: revs 1.7-1.9Mike Heffner2003-06-171-30/+31
| | | | | | | | ANSIfy and remove register Update with NetBSD changes Notes: svn path=/stable/4/; revision=116497
* MFC: Fix grammar bogons.Jens Schweikhardt2003-06-031-1/+1
| | | | Notes: svn path=/stable/4/; revision=115780
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2003-06-021-0/+116
| | | | Notes: svn path=/stable/4/; revision=115704
* MFC: rev. 1.20:Max Khon2003-06-021-2/+2
| | | | | | | | | fix stripping last path component when only one path component left. PR: 52686 Notes: svn path=/stable/4/; revision=115695
* MFC - Reduce diffs to current.Giorgos Keramidas2003-05-242-4/+19
| | | | | | | | | | | strftime.3 -> 1.30 strptime.3 -> 1.20 Use one line for each function argument to keep the line width smaller than 80 columns. Notes: svn path=/stable/4/; revision=115275
* MFC -- reduce diffs to current.Giorgos Keramidas2003-05-231-3/+17
| | | | | | | | 1.19: "The .Fn function". 1.20: Fixed a few .Fa abuses. Notes: svn path=/stable/4/; revision=115273
* Add MLINKS to the reentrant variants of:Giorgos Keramidas2003-05-231-1/+3
| | | | | | | asctime(), ctime(), gmtime(), and localtime(). Notes: svn path=/stable/4/; revision=115272
* MFC: make realpath thread-safe.Max Khon2003-05-221-104/+134
| | | | | | | This commit also fixes PR 12244. Notes: svn path=/stable/4/; revision=115231
* MFC rev. 1.15: Remove reference to libcompat, ftok() was moved into libc.Tim J. Robbins2003-05-071-3/+0
| | | | Notes: svn path=/stable/4/; revision=114792
* MFC 1.13 && 1.14:Tom Rhodes2003-05-061-1/+16
| | | | | | | | | | 1.13: State the fact that the range is twice the traditional RAND_MAX. Add an EXAMPLES section. 1.14: Use the .Dl macro. Notes: svn path=/stable/4/; revision=114790
* Add missing #include <math.h> to synopsis. Not needed on -CURRENT asMurray Stokely2003-05-041-0/+1
| | | | | | | | | these functions are now macros there and the man page is no longer. PR: docs/48083 Notes: svn path=/stable/4/; revision=114679
* MFC: ntp_adjtime(2) and ntp_gettime(2) manual pages.Tom Rhodes2003-04-221-1/+2
| | | | | | | PR: 32674 Notes: svn path=/stable/4/; revision=113857
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2003-04-201-0/+104
| | | | Notes: svn path=/stable/4/; revision=113730
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2003-04-151-0/+147
| | | | Notes: svn path=/stable/4/; revision=113516
* MFC r1.23:Ceri Davies2003-04-051-1/+3
| | | | | | | | | | | | [1] - Document EHOSTUNREACH as a possible error [2] - Remove a contraction PR: docs/50401 Submitted by: [1] Slaven Rezic <slaven@rezic.de> Notes: svn path=/stable/4/; revision=113128
* MFC 1.3: Document the fact that hdestory calls free on the keys added withDavid Malone2003-04-051-5/+25
| | | | | | | hsearch(.., ENTER). Make the example reflect this. Notes: svn path=/stable/4/; revision=113124
* MFC wcstombs.c 1.1-1.5, mbstowcs.c 1.1-1.6: Implement the XSI extensionTim J. Robbins2003-04-051-12/+59
| | | | | | | | | | | that allows the destination string to be NULL, and returns the number of bytes (wcstombs) or wide characters (mbstowcs) that would be required to store the result of the conversion without storing anything. PR: 17694 Notes: svn path=/stable/4/; revision=113108
* MFC:Chris D. Faulhaber2003-03-201-8/+14
| | | | | | | | | | src/lib/libc/xdr/xdr_mem.c 1.12 src/include/rpc/xdr.h 1.23 Clean up some signed/unsigned issues in the XDR code. Notes: svn path=/stable/4/; revision=112432
* Another round of manual page sync-ups:Tom Rhodes2003-03-1528-73/+203
| | | | | | | | | | - Fix up some grammar. - Clean up mdoc(7) markup. Approved by: re (blanket) Notes: svn path=/stable/4/; revision=112267
* Sync with -current:Tom Rhodes2003-03-1317-78/+115
| | | | | | | | | | | | - Clean up mdoc(7) formatting. - MFC the BUGS section and some reordering of sections in fmtcheck.3 - Some grammar fixes. - Use .Fn where required. Approved by: re (blanket) Notes: svn path=/stable/4/; revision=112197
* MFC rev 1.54: Document error returns for the printf() family of functions.Tim J. Robbins2003-03-021-2/+12
| | | | | | | Approved by: re Notes: svn path=/stable/4/; revision=111724
* MFC: revision 1.38: Update errors.Tom Rhodes2003-02-241-9/+9
| | | | Notes: svn path=/stable/4/; revision=111391
* MFC several mdoc fixes.Tom Rhodes2003-02-234-40/+69
| | | | Notes: svn path=/stable/4/; revision=111345
* MFC: rev 1.104, link dlinfo(3) manpage to buildAlexey Zelkin2003-02-211-1/+2
| | | | Notes: svn path=/stable/4/; revision=111215
* MFC: rev 1.27, 1.26, 1.25 and 1.24Alexey Zelkin2003-02-211-7/+42
| | | | | | | | | | | o mention dlerror() application to dladdr() and dlinfo() o document dlsym()'s behaviour with new special handle RTLD_SELF o add cross reference to dlinfo() o markup nits o mdoc(7) police Notes: svn path=/stable/4/; revision=111214
* MFC: Properly remove unloaded objects from all lists.Alexander Kabaev2003-02-201-0/+8
| | | | | | | | | Implement dlinfo function. Aproved by: re (murray) Notes: svn path=/stable/4/; revision=111193
* MFC: Fix the description for mkdtemp(), which creates directories, not files.Gregory Neil Shapiro2003-02-191-1/+1
| | | | | | | | | | Revision Changes Path 1.23 +1 -1 src/lib/libc/stdio/stdio.3 Approved by: re (bmah) Notes: svn path=/stable/4/; revision=111118
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2003-02-161-0/+266
| | | | Notes: svn path=/stable/4/; revision=111022
* MFC: Ignore TMPDIR if the application is setugid (r1.8 and r1.9).Kris Kennaway2003-02-151-1/+3
| | | | Notes: svn path=/stable/4/; revision=110902
* MFC: 1.22: Typo fixes.Giorgos Keramidas2003-02-141-1/+1
| | | | Notes: svn path=/stable/4/; revision=110838
* MFC, v1.20Nick Sayer2003-02-111-3/+3
| | | | | | | PR: kern/33904 Notes: svn path=/stable/4/; revision=110674
* MFC: Add a manual page for getosreldate.Tom Rhodes2003-02-021-1/+1
| | | | Notes: svn path=/stable/4/; revision=110221
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2003-01-301-0/+65
| | | | Notes: svn path=/stable/4/; revision=110121
* MFC rev 1.33: document the implications of non-superuser mounts.Joerg Wunsch2003-01-171-2/+15
| | | | Notes: svn path=/stable/4/; revision=109445
* MFC:Mike Barcroft2003-01-171-23/+36
| | | | | | | Sync with head (rev 1.16 through 1.22). Notes: svn path=/stable/4/; revision=109419
* MFC:Mike Barcroft2003-01-171-96/+46
| | | | | | | Sync with head (rev 1.4 and 1.8 through 1.11). Notes: svn path=/stable/4/; revision=109418
* MFC: Remove redundant documentation.Tom Rhodes2003-01-061-14/+1
| | | | | | | | PR: 46253 Submitted by: Jeroen Ruigrok van der Werven <asmodai@wxs.nl> Notes: svn path=/stable/4/; revision=108846
* MFC: revision 1.60Tom Rhodes2003-01-061-1/+1
| | | | Notes: svn path=/stable/4/; revision=108803