summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Fix mostly harmless typo:Jacques Vidrine2000-12-171-1/+1
| | | | | | | | | | if (data); free(data); Discovered by: emacs cc-mode Notes: svn path=/head/; revision=70128
* mdoc(7) police: added missing .Os call.Ruslan Ermilov2000-12-143-0/+3
| | | | Notes: svn path=/head/; revision=70022
* mdoc(7) police: removed history info from the .Os FreeBSD call.Ruslan Ermilov2000-12-1428-28/+28
| | | | Notes: svn path=/head/; revision=70015
* #endif should not have a non-comment token after it.David E. O'Brien2000-12-131-1/+1
| | | | | | | GCC 2.97 (snapshot) complains about this. Notes: svn path=/head/; revision=69968
* o Introduce a pile more documentation about capabilities, includingRobert Watson2000-12-111-6/+213
| | | | | | | | | | | identification and descriptions of most capabilities, current inheritence rules, etc. More to follow. Reviewed by: sheldonh Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=69859
* mdoc(7) police: use canonical form of .Dd macro.Ruslan Ermilov2000-12-1115-15/+16
| | | | Notes: svn path=/head/; revision=69857
* Move telldir position recording type definitions and prototypesDaniel Eischen2000-12-116-31/+92
| | | | | | | | | | to "telldir.h" in order to prevent namespace pollution in <dirent.h> (which was including <sys/queue.h>). Add $FreeBSD$ to rewinddir.c and seekdir.c. Notes: svn path=/head/; revision=69841
* Add `_PATH_DEVZERO'.David E. O'Brien2000-12-091-1/+2
| | | | | | | Use _PATH_* where where possible. Notes: svn path=/head/; revision=69793
* strunvis(3) and unvis(3) are the same files.Alexander Langer2000-12-081-1/+0
| | | | Notes: svn path=/head/; revision=69759
* There are four types of encoding now, not three. Most of them use theAlexander Langer2000-12-081-2/+2
| | | | | | | backslash as a special char, but not all. Notes: svn path=/head/; revision=69756
* Upgrade to groff 1.16.1.Ruslan Ermilov2000-12-061-8/+1
| | | | Notes: svn path=/head/; revision=69675
* Back this out, we apparently have the ipfw(4).Ruslan Ermilov2000-12-061-1/+1
| | | | Notes: svn path=/head/; revision=69662
* ipfw(4) -> ipfw(8).Ruslan Ermilov2000-12-061-1/+1
| | | | Notes: svn path=/head/; revision=69661
* Cleanup XXXdir functions to eliminate global hash table ofDaniel Eischen2000-12-065-53/+34
| | | | | | | | | | | | | | | | | | | telldir positions. This will allow (future) locking on a per-DIR basis (for MT-safety). For now, this change does the following: o Remove the hash table from telldir.c. Recode to use queue macros. o Remove 'const' from 'telldir(const DIR *)'. o Remove 'register' variables as suggested in a recent thread. No response from: -current Notes: svn path=/head/; revision=69656
* Move the ipfw(4) xref to the description of LOG_SECURITY instead ofJohn Baldwin2000-12-051-1/+1
| | | | | | | | | | LOG_UUCP. PR: docs/23302 Submitted by: cshumway Notes: svn path=/head/; revision=69637
* - __ivaliduser_sa() was introduced for forthcoming IPv6 support to lpdHajimu UMEMOTO2000-12-041-102/+170
| | | | | | | | | | | | | | | | - iruserok_sa() and __ivaliduser_af() were re-organized to use __ivaliduser_sa() - __icheckhost() was re-written to use getaddrinfo() instead of getipnodebyname() - better handling of multiple destination addresses in rcmd() These changes were basically taken from KAME and changed to fit our rcmd.c. Obtained from: KAME Notes: svn path=/head/; revision=69575
* mdoc(7) police: fix formatting errors in rev 1.27.Ruslan Ermilov2000-12-041-13/+27
| | | | Notes: svn path=/head/; revision=69563
* When recording the original arguments, stop short if we encounterJohn Polstra2000-12-041-0/+10
| | | | | | | | | | | a NULL argument. Some programs change the contents of the argv array, typically to remove some special arguments. They shorten argv by storing a NULL where an argument pointer used to be. Such programs core dumped if they called setproctitle(), because it would try to apply strlen() to a NULL pointer. Notes: svn path=/head/; revision=69560
* When recording the original arguments, don't (ab)use "nargc" forJohn Polstra2000-12-041-3/+4
| | | | | | | | iterating over the arguments. Doing so wipes out the value which is about to be stored into the ps_strings structure. Notes: svn path=/head/; revision=69558
* Add warning on file-fragmentation issues related to MAP_NOSYNCMatthew Dillon2000-12-031-0/+15
| | | | Notes: svn path=/head/; revision=69555
* Remove last vestiges of thr_sleep and thr_wakeup from libc.Jake Burkholder2000-12-024-4/+4
| | | | Notes: svn path=/head/; revision=69515
* Fix some error-handling logic so that ferror is called before fclose,Garance A Drosehn2000-12-021-7/+21
| | | | | | | | | | | | instead of immediately after the fclose. The previous logic did work on freebsd, but is somewhat risky practice (and causes trouble when porting to other OS's). PR: bin/22965 Reviewed by: Garrett Wollman Notes: svn path=/head/; revision=69502
* document O_NOFOLLOW and O_FSYNC flags to openAlfred Perlstein2000-11-291-0/+21
| | | | Notes: svn path=/head/; revision=69336
* Prefix the register argument of indirect 'jmp's with a * to make gas 2.10.xJohn Baldwin2000-11-283-3/+3
| | | | | | | happy. Notes: svn path=/head/; revision=69332
* The parameter that contains valid options is "optstring", not "optarg".Matthew Hunt2000-11-281-1/+1
| | | | Notes: svn path=/head/; revision=69329
* Add reference to elf(5) in addition to already mentioned a.out(5) and add bothMaxim Sobolev2000-11-271-0/+4
| | | | | | | elf(5) and a.out(5) into `SEE ALSO' section. Notes: svn path=/head/; revision=69276
* Note that the `fmt' parameter is a printf()-like string.David E. O'Brien2000-11-261-1/+4
| | | | Notes: svn path=/head/; revision=69235
* Make it possible to override the function which writes messages toPoul-Henning Kamp2000-11-262-18/+32
| | | | | | | | | | stderr in case of warnings and errors. Rename malloc_options to have a leading underscore, I belive I have been told that is more correct namespace wise. Notes: svn path=/head/; revision=69201
* sprintf -> snprintfKris Kennaway2000-11-261-1/+1
| | | | Notes: svn path=/head/; revision=69196
* Remove the only hard sentence break in the file.Sheldon Hearn2000-11-241-4/+5
| | | | Notes: svn path=/head/; revision=69113
* Eliminate groff(1) warnings.Ruslan Ermilov2000-11-247-49/+77
| | | | Notes: svn path=/head/; revision=69104
* mdoc(7) police: Er macro usage cleanup.Ruslan Ermilov2000-11-2238-64/+92
| | | | Notes: svn path=/head/; revision=69051
* logRuslan Ermilov2000-11-224-0/+4
| | | | Notes: svn path=/head/; revision=69026
* Fix a logic reversal: the RFFDG flag must be unset in order to shareJonathan Lemon2000-11-211-3/+6
| | | | | | | | | a file descriptor table. (Thanks to Alan Cox) Clarify the fact that the changelist and eventlist can be shared. Notes: svn path=/head/; revision=69014
* Clarify the time parameter of the kevent() system call.Jeroen Ruigrok van der Werven2000-11-211-1/+1
| | | | | | | | | Inspired by PR: 21708 Submitted by: Ronald F. Guilmette <rfg@monkeys.com> Reviewed by: jlemon Notes: svn path=/head/; revision=68998
* Fix hard sentence break introduced in rev 1.7.Sheldon Hearn2000-11-201-1/+2
| | | | Notes: svn path=/head/; revision=68959
* Add a period missing from rev 1.13.Sheldon Hearn2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68958
* Remove blank line introduced in rev 1.13.Sheldon Hearn2000-11-201-1/+0
| | | | Notes: svn path=/head/; revision=68957
* mdoc(7) police: fixed warnings.Ruslan Ermilov2000-11-201-4/+2
| | | | Notes: svn path=/head/; revision=68948
* mdoc(7) police: fixed warning.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68947
* mdoc(7) police: Nm -> Fn where appropriate.Ruslan Ermilov2000-11-2011-51/+40
| | | | Notes: svn path=/head/; revision=68946
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-203-15/+15
| | | | Notes: svn path=/head/; revision=68945
* MAXPATHNAMELEN -> MAXPATHLENKris Kennaway2000-11-191-1/+1
| | | | | | | | Submitted by: ianm@kashmir.cit.nepean.uws.edu.au via OpenBSD Obtained from: OpenBSD Notes: svn path=/head/; revision=68896
* Don't suggest people use getpid() to construct temporary filenames;Kris Kennaway2000-11-191-2/+6
| | | | | | | | | point them to mkstemp() instead. Obtained from: OpenBSD (based on) Notes: svn path=/head/; revision=68893
* Update the documentation to describe the new mktemp() family behaviour.Kris Kennaway2000-11-191-8/+33
| | | | | | | | | | Also notes that mkstemp() first appeared in 4.4BSD (change obtained from OpenBSD) Reviewed by: sheldonh Notes: svn path=/head/; revision=68892
* mdoc(7) police: use certified section headers wherever possible.Ruslan Ermilov2000-11-1718-19/+19
| | | | Notes: svn path=/head/; revision=68854
* Replace a `dagger' sign with a `double dagger' one.Ruslan Ermilov2000-11-161-15/+15
| | | | | | | The former looks ugly on grotty(1) devices. Notes: svn path=/head/; revision=68820
* Remove fullstops from the end of .Xr lines in SEE ALSO section.Ben Smithurst2000-11-157-7/+7
| | | | Notes: svn path=/head/; revision=68751
* Convert this from -man to -mdoc.Ruslan Ermilov2000-11-141-140/+345
| | | | Notes: svn path=/head/; revision=68722
* Use Fx macro wherever possible.Ruslan Ermilov2000-11-1424-33/+68
| | | | Notes: svn path=/head/; revision=68716