summaryrefslogtreecommitdiff
path: root/lib/libc/gen
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace only.Sheldon Hearn2000-07-032-18/+18
| | | | Notes: svn path=/head/; revision=62446
* Fix overlong line and trailing whitespace introduced in rev 1.8.Sheldon Hearn2000-07-031-1/+2
| | | | Notes: svn path=/head/; revision=62445
* Add to the SEE ALSO section, a reference to the RFC mentioned inSheldon Hearn2000-07-032-1/+12
| | | | | | | text introduced in the previous commit. Notes: svn path=/head/; revision=62444
* Re-pair the MLINKS of unvis.3 with strunvisx.3. This undoubtedly was aBrian Feldman2000-07-031-1/+1
| | | | | | | world breakage. Notes: svn path=/head/; revision=62430
* Add strunvisx.3 MLINK.Alexander Langer2000-07-021-1/+1
| | | | Notes: svn path=/head/; revision=62424
* Document VIS_HTTPSTYLE:Alexander Langer2000-07-022-4/+34
| | | | | | | | | | | | | | | | VIS_HTTPSTYLE is a new encoding style for use in vis(), strvis() and strvisx() that escapes characters according to RFC 1808 (URI encoding). Since decoding of these require different detection of start-points of escaped characters, VIS_HTTPSTYLE can be given as flag to unvis(). unvis() will then properly decode URIs. A new function appeared, strunvisx(): strunvisx() behaves similar as strunvis(), with one exception: It has an additional flag parameter, which is passed to unvis() to archive the effect I described above. Notes: svn path=/head/; revision=62423
* Style fixes.Dan Moschuk2000-07-011-11/+12
| | | | Notes: svn path=/head/; revision=62357
* Add URI encoding to the vis/unvis routines courtesy of VIS_HTTPSTYLE.Dan Moschuk2000-07-012-1/+73
| | | | | | | | | | | Since alex is a -doc committer, he can update his own manpage. :-) Also add $FreeBSD$ while I'm here. Submitted by: alex Notes: svn path=/head/; revision=62356
* Fix typo in SEE ALSO section.Jason Evans2000-06-281-1/+1
| | | | Notes: svn path=/head/; revision=62197
* Remove the setflags/getflags routines. Their functionality hasJosef Karthauser2000-06-182-234/+0
| | | | | | | been replaced with the library calls fflagstostr and strtofflags. Notes: svn path=/head/; revision=61803
* Add strtofflags and fflagstostr to libc.Josef Karthauser2000-06-171-2/+3
| | | | Notes: svn path=/head/; revision=61747
* Modify strtofflags so that it returns a malloced string instead of aJosef Karthauser2000-06-172-4/+30
| | | | | | | pointer to a static buffer. Notes: svn path=/head/; revision=61746
* The "def" arg for fflagstostr is too specialized for ls. The callerJosef Karthauser2000-06-172-8/+5
| | | | | | | | | | can easily translate from "" to whatever it wants to print if no flags are set. (ls prints "-" and mtree prints "none".) Suggested by: bde Notes: svn path=/head/; revision=61738
* Return of the evil file flags! The {s|g}etflags functions wereJosef Karthauser2000-06-174-250/+16
| | | | | | | | | | | renamed to {s|g}etflagsbyname, which received objections. They're now called strtofflags (string to file flags) and fflagstostr (file flags to string). Suggested by: bde Notes: svn path=/head/; revision=61737
* #include <string.h> for memcpy() prototypeKris Kennaway2000-06-031-0/+1
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=61193
* Describe errx/warnx in comparison to errc/warnc/err/warn.Guy Helmer2000-05-231-12/+33
| | | | | | | | | Use .Fa instead of .Va for function arguments. Reviewed by: sheldonh Notes: svn path=/head/; revision=60832
* Fix a memory leak in getent() that occurred when the requested entryTim Vanderhoek2000-05-211-1/+3
| | | | | | | | | could not be found. PR: bin/17084 Notes: svn path=/head/; revision=60747
* Use `Er' variable to define first column width in ERRORS section.Alexey Zelkin2000-05-065-5/+5
| | | | Notes: svn path=/head/; revision=60078
* mdoc related cleanup:Alexey Zelkin2000-05-061-17/+17
| | | | | | | | | . use construction ".Aq Pa filename" instead of ".Pa <filename>" . replace Section Heading macro (.Sh) with Subsection (.Ss) macro for subsections Notes: svn path=/head/; revision=60077
* Use suggested by mdoc(7) style section name (ERROR -> ERRORS)Alexey Zelkin2000-05-061-1/+1
| | | | Notes: svn path=/head/; revision=60076
* Minor mdoc cleanup.Mike Pritchard2000-05-051-1/+2
| | | | | | | PR: docs/13218 Notes: svn path=/head/; revision=60015
* Remove cancellation point propagation.Jason Evans2000-04-261-4/+4
| | | | Notes: svn path=/head/; revision=59666
* Spell MAP_NOSYNC correctly.Garrett Wollman2000-04-231-1/+1
| | | | | | | Submitted by: allenc@verinet.com Notes: svn path=/head/; revision=59551
* .Lb-ifyGarrett Wollman2000-04-231-0/+2
| | | | Notes: svn path=/head/; revision=59527
* Introduce .Lb macro to libutil manpagesAlexey Zelkin2000-04-221-6/+2
| | | | | | | | | Sort .Nm values in some manpages Remove explicit note about compiling with -lutil, it's implicitly declared by .Lb macro now. Notes: svn path=/head/; revision=59516
* Introduce .Lb macro to libc_r manpages.Alexey Zelkin2000-04-226-0/+12
| | | | Notes: svn path=/head/; revision=59501
* Add shm_open(3) and shm_unlink(3). The documentation could use a goodGarrett Wollman2000-04-223-2/+265
| | | | | | | | bit of work (and is stylistically probably the worst manual page I've ever written). Notes: svn path=/head/; revision=59497
* Introduce ".Lb" macro to libc manpages.Alexey Zelkin2000-04-2186-0/+172
| | | | | | | More libraries manpages updates following. Notes: svn path=/head/; revision=59460
* Take care to avoid having "strong" and "weak" symbols of the same name inJason Evans2000-03-165-0/+10
| | | | | | | libc_r. Notes: svn path=/head/; revision=58126
* Fix various unsigned vs signed errors that caused problems with uidsPaul Richards2000-03-091-5/+14
| | | | | | | | | | and gids bigger than 16 bits. Added checks for uids and gids that are bigger than 32 bits. Approved by: jkh (partly, this fix is bigger than I first intended) Notes: svn path=/head/; revision=57868
* Remove more single-space hard sentence breaks.Sheldon Hearn2000-03-022-3/+6
| | | | Notes: svn path=/head/; revision=57695
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-0212-28/+56
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57686
* Fix errors in .Xr usage.Nik Clayton2000-03-011-1/+1
| | | | | | | | PR: docs/17057 Submitted by: Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de> Notes: svn path=/head/; revision=57666
* Restore `[no]{s|u}unlnk' and `[no]opaque' support.Ruslan Ermilov2000-02-223-6/+21
| | | | | | | | | | Broken in src/bin/ls/stat_flags.c,v 1.12. PR: 16885 Approved by: jkh Notes: svn path=/head/; revision=57389
* Add man pages for the sem_*() functions.Jason Evans2000-02-166-0/+503
| | | | | | | Approved by: jkh Notes: svn path=/head/; revision=57260
* Replace the existing documentation for ``KERN_QUANTUM'' with a moreChris Costello2000-02-101-4/+2
| | | | | | | descriptive (and generally more useful) explanation. Notes: svn path=/head/; revision=57102
* Revert part of the last commit, remove {g|s}etflags from the libcJosef Karthauser2000-02-051-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | interface, and statically link them to the programs using them. These functions, upon reflection and discussion, are too generically named for a library interface with such specific functionality. Also the api that they use, whilst ok for private use, isn't good enough for a libc function. Additionally there were complications with the build/install-world process. It depends heavily upon xinstall, which got broken by the change in api, and caused bootstrap problems and general mayhem. There is work in progress to address future problems that may be caused by changes in install-chain tools, and better names for {g|s}etflags can be derived when some future program requires them. For now the code has been left in src/lib/libc/gen (it started off in src/bin/ls). It's important to provide library functions for manipulating file flag strings if we ever want this interface to be adopted outside of the source tree, but now isn't necessarily the right moment with 4.0-release just around the corner. Approved: jkh Notes: svn path=/head/; revision=57003
* Revive the warning that dllockinit() is experimental and subject toJohn Polstra2000-01-291-1/+6
| | | | | | | change. Notes: svn path=/head/; revision=56781
* Install setflags.3 and its link to getflags.3.Bruce Evans2000-01-281-1/+3
| | | | Notes: svn path=/head/; revision=56726
* Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(),Jason Evans2000-01-2722-95/+87
| | | | | | | | | | | | | | | | | | | | just use _foo() <-- foo(). In the case of a libpthread that doesn't do call conversion (such as linuxthreads and our upcoming libpthread), this is adequate. In the case of libc_r, we still need three names, which are now _thread_sys_foo() <-- _foo() <-- foo(). Convert all internal libc usage of: aio_suspend(), close(), fsync(), msync(), nanosleep(), open(), fcntl(), read(), and write() to _foo() instead of foo(). Remove all internal libc usage of: creat(), pause(), sleep(), system(), tcdrain(), wait(), and waitpid(). Make thread cancellation fully POSIX-compliant. Suggested by: deischen Notes: svn path=/head/; revision=56698
* Historically file flags (schg, uschg, etc) have been converted fromJosef Karthauser2000-01-277-13/+247
| | | | | | | | | | | | | | | | | | | | string to u_long and back using two functions, flags_to_string and string_to_flags, which co-existed with 'ls'. As time has progressed more and more other tools have used these private functions to manipulate the file flags. Recently I moved these functions from /usr/src/bin/ls to libutil, but after some discussion with bde it's been decided that they really ought to go in libc. There are two already existing libc functions for manipulating file modes: setmode and getmode. In keeping with these flags_to_string has been renamed getflags and string_to_flags to setflags. The manual page could probably be improved upon ;) Notes: svn path=/head/; revision=56692
* Document KERN_QUANTUM under CTL_KERNChris Costello2000-01-191-0/+6
| | | | | | | | PR: 15637 Submitted by: jhs Notes: svn path=/head/; revision=56268
* Document isnanf() for checking if a float is NaN (``Not-a-Number'') andChris Costello2000-01-192-4/+9
| | | | | | | | | create a link from isnanf.3 to isinf.3. PR: 13878 Notes: svn path=/head/; revision=56266
* This man page is not needed; it just gets jumped on later when libcryptMark Murray2000-01-182-298/+1
| | | | | | | | is installed. Submitted by: bde Notes: svn path=/head/; revision=56252
* Correct placement of $FreeBSD$ CVS identifier.Jeroen Ruigrok van der Werven2000-01-131-1/+1
| | | | Notes: svn path=/head/; revision=55915
* Change ``from'' to ``to''.Jeroen Ruigrok van der Werven2000-01-131-1/+1
| | | | | | | | PR: 15729 Submitted by: Kim Toms Notes: svn path=/head/; revision=55914
* Add three-tier symbol naming in support of POSIX thread cancellationJason Evans2000-01-1222-91/+140
| | | | | | | | | points. For library functions, the pattern is __sleep() <-- _libc_sleep() <-- sleep(). The arrows represent weak aliases. For system calls, the pattern is _read() <-- _libc_read() <-- read(). Notes: svn path=/head/; revision=55837
* Remove the warning that this interface shouldn't be used yet. FixJohn Polstra2000-01-091-8/+4
| | | | | | | a typo. Clarify a sentence. Notes: svn path=/head/; revision=55685
* remove most of PF_INET6 description. add references only.Jun-ichiro itojun Hagino2000-01-061-138/+4
| | | | | | | Suggested by: Ruslan Ermilov <ru@FreeBSD.org> Notes: svn path=/head/; revision=55502
* bring in description for KAME IPv6 changes.Jun-ichiro itojun Hagino2000-01-061-4/+156
| | | | | | | | | XXX it looks that sysctl.3 lacks most of PF_INET items. Reviewed by: shin Obtained from: KAME (netbsd-current) Notes: svn path=/head/; revision=55493