summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Remove an extra comma.Mike Pritchard1997-03-221-2/+2
| | | | Notes: svn path=/head/; revision=24125
* Use the .Tn macro for generic FreeBSD references. Other minor cleanup.Mike Pritchard1997-03-216-18/+31
| | | | Notes: svn path=/head/; revision=24094
* Mdoc cleanup.Mike Pritchard1997-03-213-43/+91
| | | | Notes: svn path=/head/; revision=24093
* Document SCM_CREDS changes.Bill Paul1997-03-211-0/+28
| | | | Notes: svn path=/head/; revision=24084
* Add backward compatibility so that static executables built onJohn Polstra1997-03-201-10/+23
| | | | | | | | | | | modern FreeBSD systems will syslog properly on older systems that still name the logging socket "/dev/log". This includes pre-2.2 versions of FreeBSD as well as BSD/OS systems. If the connect to "/var/run/log" fails, the function now tries to connect to "/dev/log" as a fallback. Notes: svn path=/head/; revision=24068
* Fixed missing #include of <sys/types.h> and wrong arg types in synopsis.Bruce Evans1997-03-191-5/+6
| | | | | | | Reviewed by: wollman Notes: svn path=/head/; revision=24047
* FIxed arg types (mostly missing consts) in synopsis.Bruce Evans1997-03-191-2/+2
| | | | Notes: svn path=/head/; revision=24009
* FIxed arg types (mostly missing consts) in synopsis.Bruce Evans1997-03-195-8/+8
| | | | Notes: svn path=/head/; revision=24008
* Added missing #include of <stdarg.h> to synopsis. Moved prototypes forBruce Evans1997-03-191-9/+10
| | | | | | | | `v' functions after this #include (same organisation as in printf.3 for printf/vprintf). Notes: svn path=/head/; revision=24007
* Fixed missing function types in synopsis.Bruce Evans1997-03-195-0/+7
| | | | Notes: svn path=/head/; revision=24006
* Fixed synopsis (put all of the function (return) type info in .Ft andBruce Evans1997-03-192-3/+3
| | | | | | | none in .Fn). Notes: svn path=/head/; revision=24004
* Removed unnecessary quoting of function names in synopsis to simplifyBruce Evans1997-03-186-13/+13
| | | | | | | automated checking of synopses. Notes: svn path=/head/; revision=24003
* Check for overflow in size argument.Poul-Henning Kamp1997-03-181-2/+4
| | | | | | | | Tested by: Joel Maslak <j@pobox.com> Closes: PR kern/2964 Notes: svn path=/head/; revision=23981
* Fix arg types to match Lite2Andrey A. Chernov1997-03-171-2/+2
| | | | Notes: svn path=/head/; revision=23969
* Updated prototype for mount() to match Lite2 reality for the 1st argBruce Evans1997-03-131-1/+1
| | | | | | | and Lite1 or earlier reality for the 4th arg. Notes: svn path=/head/; revision=23862
* Part 2 of a failed commit (cvs broke). Original message:Peter Wemm1997-03-132-0/+283
| | | | | | | | | | | | | | | | | | | Back out a dubious Lite2 change to "optimise" getcwd() to look at $PWD because it's potentially dangerous (think: symlink races). Move realpath() back to it's original location, and remove getcwd_physical() by renaming it back to getcwd() and zapping the original getcwd wrapper. Noticed by: bde The following commits already happened but the log message got lost: Modified Files: gen/Makefile.inc gen/getcwd.c stdlib/Makefile.inc Removed Files: gen/realpath.3 Notes: svn path=/head/; revision=23833
* Back out a dubious Lite2 change to "optimise" getcwd() to look at $PWDPeter Wemm1997-03-134-282/+4
| | | | | | | | | | | because it's potentially dangerous (think: symlink races). Move realpath() back to it's original location, and remove getcwd_physical() by renaming it back to getcwd() and zapping the original getcwd wrapper. Noticed by: bde Notes: svn path=/head/; revision=23832
* Make this man page really match the current <sys/signal.h> again andBruce Evans1997-03-121-2/+2
| | | | | | | | the 2.x <sys/signal.h> for the first time :-). The type of ss_sp was lexically different. Notes: svn path=/head/; revision=23800
* Make this man page match the current <sys/signal.h> again :-).Mike Pritchard1997-03-121-3/+4
| | | | | | | | | Bruce says that since NetBSD, OpenBSD and Linux currently use ss_sp, we won't be changing it to the lite2 ss_base. The type may change at some later date. Notes: svn path=/head/; revision=23793
* Update the structure to match how things are going to appear afterMike Pritchard1997-03-121-3/+3
| | | | | | | bde commits some changes later tonight. Notes: svn path=/head/; revision=23787
* More cleanup - I didn't realize that this was a new man pageMike Pritchard1997-03-121-2/+3
| | | | | | | and need extra attention :-) Notes: svn path=/head/; revision=23786
* Restored a .Fa line that was lost in the Lite2 merge.Bruce Evans1997-03-121-0/+1
| | | | Notes: svn path=/head/; revision=23785
* Mdoc cleanup.Mike Pritchard1997-03-121-1/+0
| | | | Notes: svn path=/head/; revision=23784
* Fixed merging error. Lite2 fixed premature failure and didn'tBruce Evans1997-03-121-2/+4
| | | | | | | | | | | touch duplicate group suppression, but the merge blew away our duplicate group suppression. The merge also blew away the -Wall cleanup in rev.1.5, but that was misformatted, so I didn't restore it. Notes: svn path=/head/; revision=23780
* Cleanup some of the Lite2 merge. Most of it is mdoc cleanup,Mike Pritchard1997-03-123-15/+10
| | | | | | | | | | | but in one case the Lite2 changes were flat out wrong and caused the man page to disagree with a header file. There are still some *roff macro calls that were added that I have yet to figure out what to do with in some of the man pages. Notes: svn path=/head/; revision=23778
* Fixed errors in the Lite2 merge. Some style changes were mismerged.Bruce Evans1997-03-121-27/+28
| | | | | | | | | | My changes to preserve errno across free() and close() and to report fstat() errors properly were blown away. Updated the FreeBSD changes to match the Lite2 style fixes. Notes: svn path=/head/; revision=23768
* Fix problem with FD_SET* overflow reporting.. Perror() didn't have enoughPeter Wemm1997-03-121-2/+6
| | | | | | | | | | args, and errno hasn't actually been set so it probably doesn't make sense to report it via strerror(). Pointed out by: bde Notes: svn path=/head/; revision=23767
* _res_close() -> res_close()Peter Wemm1997-03-121-2/+2
| | | | | | | Pointed out by: bde Notes: svn path=/head/; revision=23766
* Document that popen() uses a bidirectional pipe (in FreeBSD) and not aBruce Evans1997-03-111-7/+5
| | | | | | | socket pair (as in Lite2). Notes: svn path=/head/; revision=23735
* Fixed cleaning up after malloc failure, which was broken by Lite2.Bruce Evans1997-03-111-3/+5
| | | | | | | | | We don't use socketpair(), so don't #include <sys/socket.h>. Restored some gcc-quieting parentheses that were lost in the Lite2 merge. Notes: svn path=/head/; revision=23734
* Install the Lite2 getvfsbyname.3. The old getvfsbyname() interface isBruce Evans1997-03-111-4/+4
| | | | | | | still available and described in getvfsent.3. Notes: svn path=/head/; revision=23733
* Fixed #include's in synopsis.Bruce Evans1997-03-111-2/+1
| | | | Notes: svn path=/head/; revision=23732
* Merge from Lite2:Peter Wemm1997-03-119-92/+312
| | | | | | | | filesystem include updates, duplicate group suppression, cleanups, filesystem whiteout support (unionfs), bidir popen(). Notes: svn path=/head/; revision=23668
* Merge from Lite2: man page updatesPeter Wemm1997-03-116-18/+40
| | | | Notes: svn path=/head/; revision=23667
* Merge from Lite2 (YAMFL2? :-)Peter Wemm1997-03-111-17/+29
| | | | | | | | | Document that popen() can now create bidirectional pipes and handles. Note that this needs to be updated since we have a native bidirectional pipe and don't use socketpair() here. Notes: svn path=/head/; revision=23666
* Merge from Lite2 (+realpath.3)Peter Wemm1997-03-111-3/+4
| | | | Notes: svn path=/head/; revision=23665
* Merge from Lite2 (whiteout/unionfs)Peter Wemm1997-03-111-2/+4
| | | | Notes: svn path=/head/; revision=23664
* Merge from Lite2Peter Wemm1997-03-111-2/+2
| | | | Notes: svn path=/head/; revision=23663
* Merge Lite2 changesPeter Wemm1997-03-115-50/+98
| | | | Notes: svn path=/head/; revision=23662
* merge from Lite2 - realpath() now shares a lot of code with getcwd()Peter Wemm1997-03-113-287/+158
| | | | | | | and is now in the same file. Notes: svn path=/head/; revision=23661
* Merge from Lite2 onto mainline -Peter Wemm1997-03-1119-278/+186
| | | | | | | | - add undelete() and undelete.2 (requires libc minor bump some time) - man page updates Notes: svn path=/head/; revision=23660
* This commit was generated by cvs2svn to compensate for changes in r23658,Peter Wemm1997-03-119-37/+373
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=23659
| * Import CSRG 4.4BSD-Lite2 lib/libc onto vendor branchPeter Wemm1997-03-1176-0/+12377
| | | | | | | | Notes: svn path=/vendor/CSRG/dist/; revision=23658
* | Import CSRG 4.4BSD-Lite2 includes onto vendor branchPeter Wemm1997-03-111-4/+7
| | | | | | | | Notes: svn path=/head/; revision=23650
* | Check for overflow of FD_SETGuido van Rooij1997-03-101-1/+6
| | | | | | | | Notes: svn path=/head/; revision=23617
* | Fix brain-o in SunOS passwd.adjunct stuff: !strstr(s, "##") is a) badBill Paul1997-03-101-1/+1
| | | | | | | | | | | | | | | | | | style and b) the wrong logic. Should be strstr(s, "##") != NULL. (Note that the passwd.adjunct stuff has not been merged into 2.2 so this bug is not in that branch.) Notes: svn path=/head/; revision=23608
* | Clarified the behaviour of dup2(fd1,fd2) when fd1==fd2 and when fd1 is invalid.Stephen McKay1997-03-091-4/+21
| | | | | | | | | | | | | | Safe for 2.2! Notes: svn path=/head/; revision=23574
* | The first argument to fts_set was wrong. Part of PR# 2917.Mike Pritchard1997-03-091-1/+2
| | | | | | | | Notes: svn path=/head/; revision=23555
* | Pause() is made obsolete by sigsuspend(2), not sigpause(3).Mike Pritchard1997-03-091-4/+4
| | | | | | | | | | | | | | Part of PR# 2917. Notes: svn path=/head/; revision=23554
* | Allow comments in group database.Wolfram Schneider1997-03-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | The character `#' introduces a comment. Leading spaces and tabs are ignored: '^[ \t]*#.*\n$' Count an empty line - only spaces, tabs or newline - also as a comment. (to be compatibel with password database comments). '^[ \t]*\n$' Notes: svn path=/head/; revision=23530