summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen
Commit message (Collapse)AuthorAgeFilesLines
* Remove fullstops from the end of .Xr lines in SEE ALSO section.ben2000-11-151-1/+1
|
* Use Fx macro wherever possible.ru2000-11-145-6/+9
|
* Change [Ii]t's to "It is" and "its" as appropriate.sheldonh2000-11-141-1/+1
|
* Whitespace only: remove hard sentence breaks introduced in previoussheldonh2000-11-141-3/+4
| | | | commit and use a paragraph marker (Pp) instead of a blank line.
* Fix bug introduced in previous commit: users obtained via compat modenectar2000-11-131-3/+8
| | | | | | had uid, gid set to 0 if not otherwise specified! Submitted by: eivind
* Correct description of KERN_PROC. Add description of KERN_PROC_ARGS.abial2000-11-111-2/+13
|
* Fix passwd entry `prototypes' in compat mode. I broke this in revisionnectar2000-11-101-34/+16
| | | | | | 1.55 when importing nsswitch from NetBSD. Reported by: Naoki Kobayashi <shibata@geo.titech.ac.jp>
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-103-10/+4
|
* Correct incorrect information about the PATH used for exec*() calls.asmodai2000-10-301-4/+7
| | | | | PR: 21990 Partially submitted by: Gerhard Sittig <Gerhard.Sittig@gmx.net>
* Whitespace only change: trim trailing whitespace.asmodai2000-10-3053-185/+185
|
* Style & grammar fixes.mpp2000-10-281-3/+7
| | | | PR: docs/22374, docs/13020
* Explicitly initialize _pw_passwd.nectar2000-10-271-1/+1
|
* Document RTLD_DEFAULT and the search algorithm used for resolvingjdp2000-09-191-6/+43
| | | | undefined symbols.
* Make a somewhat unsatisfactory attempt to describe the effects ofjdp2000-09-191-1/+18
| | | | the RTLD_GLOBAL and RTLD_LOCAL flags which can be passed to dlopen().
* Pickup SPECNAMELEN from <sys/param.h> and use it.phk2000-09-161-15/+10
| | | | | A missing _PATH_DEVDB ("/var/run/dev.db") is not cause for a warning anymore, the file is effectively optional these days.
* Add code to devname(3) so it can find the names of devices whichphk2000-09-092-12/+28
| | | | | | | | | | | | were not present when dev_mkdb(8) was run. First the dev_mkdb(8) database is searched, this caters for non-DEVFS cases where people have renamed a device. If that fails we ask the kernel using sysctl kern.devname if the device driver has put a name in the dev_t. This covers DEVFS cloned devices. If that also fails we format a string which isn't entirely useless.
* Add nsswitch support. By creating an /etc/nsswitch.conf file, you cannectar2000-09-069-1184/+1790
| | | | | | | | | | | | | | | | | | | | | | | | | | configure FreeBSD so that various databases such as passwd and group can be looked up using flat files, NIS, or Hesiod. = Hesiod has been added to libc (see hesiod(3)). = A library routine for parsing nsswitch.conf and invoking callback functions as specified has been added to libc (see nsdispatch(3)). = The following C library functions have been modified to use nsdispatch: . getgrent, getgrnam, getgrgid . getpwent, getpwnam, getpwuid . getusershell . getaddrinfo . gethostbyname, gethostbyname2, gethostbyaddr . getnetbyname, getnetbyaddr . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr = host.conf has been removed from src/etc. rc.network has been modified to warn that host.conf is no longer used at boot time. In addition, if there is a host.conf but no nsswitch.conf, the latter is created at boot time from the former. Obtained from: NetBSD
* Remove the SIGSYS handler and wrapper around the __getcwd() syscall.peter2000-09-051-39/+10
| | | | | | | | It was kinda silly since the sigaction() syscall that it used to setup the handler is more recent than __getcwd(), therefore it was useless as the wrapper would have died before even getting as far as __getcwd(2). Reminded by: bde
* setproctitle() requires unistd.h and not libutil.h/-lutilbrian2000-09-021-3/+1
|
* Move setproctitle() from libutil to libc (after a repo-copy)brian2000-09-021-3/+3
| | | | | | | | | and bump __FreeBSD_version to 500012 to mark the occasion. setproctitle() is prototyped in unistd.h as opposed to stdlib.h where OpenBSD and NetBSD have it. Reviewed by: peter
* Import XPG4-compliant basename(3) and dirname(3) from OpenBSD.des2000-08-315-2/+364
| | | | | | | | The man pages need some adjustments. PR: 12960, 12962 Submitted by: James Howard <howardjp@wam.umd.edu> Obtained from: OpenBSD
* Fix style bugs (including ones introduced from OpenBSD).green2000-08-162-58/+32
|
* sprintf -> snprintf paranoiakris2000-08-041-3/+3
|
* Make sem_post() safe to call from within a signal handler, as required byjasone2000-08-011-0/+3
| | | | POSIX/SUSv2.
* If the format string passed to setproctitle begins with a '-'ps2000-08-012-24/+14
| | | | | | | character, skip the program name when setting the process title. Ansified with extreme prejudice. Reviewed by: peter
* Add a skeleton rfork_thread(3) man page.peter2000-07-292-1/+79
|
* Remove the reference to KERN_UPDATEINTERVAL and syncer(4), sincesheldonh2000-07-221-6/+0
| | | | | | | KERN_UPDATEINTERVAL can't be used to control sched_sync(). In fact, there's no easy way to control the syncer with sysctls. Reported by: bde
* Update stale references to update(4) with references to the newsheldonh2000-07-191-1/+1
| | | | syncer(4) manual page.
* Change my email address in the copyright notices for the sake of consistencyjasone2000-07-186-6/+6
| | | | (jasone@canonware.com --> jasone@freebsd.org).
* Reshuffle the SEE ALSO section.jasone2000-07-173-7/+7
| | | | Prompted by: sheldonh
* Change the dllockinit() interface from "experimental" tojdp2000-07-081-3/+4
| | | | "deprecated" and warn that it will disappear eventually.
* Remove trailing whitespace only.sheldonh2000-07-032-18/+18
|
* Fix overlong line and trailing whitespace introduced in rev 1.8.sheldonh2000-07-031-1/+2
|
* Add to the SEE ALSO section, a reference to the RFC mentioned insheldonh2000-07-032-1/+12
| | | | text introduced in the previous commit.
* Re-pair the MLINKS of unvis.3 with strunvisx.3. This undoubtedly was agreen2000-07-031-1/+1
| | | | world breakage.
* Add strunvisx.3 MLINK.alex2000-07-021-1/+1
|
* Document VIS_HTTPSTYLE:alex2000-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.
* Style fixes.dan2000-07-011-11/+12
|
* Add URI encoding to the vis/unvis routines courtesy of VIS_HTTPSTYLE.dan2000-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
* Fix typo in SEE ALSO section.jasone2000-06-281-1/+1
|
* Remove the setflags/getflags routines. Their functionality hasjoe2000-06-182-234/+0
| | | | been replaced with the library calls fflagstostr and strtofflags.
* Add strtofflags and fflagstostr to libc.joe2000-06-171-2/+3
|
* Modify strtofflags so that it returns a malloced string instead of ajoe2000-06-172-4/+30
| | | | pointer to a static buffer.
* The "def" arg for fflagstostr is too specialized for ls. The callerjoe2000-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
* Return of the evil file flags! The {s|g}etflags functions werejoe2000-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
* #include <string.h> for memcpy() prototypekris2000-06-031-0/+1
| | | | Obtained from: OpenBSD
* Describe errx/warnx in comparison to errc/warnc/err/warn.ghelmer2000-05-231-12/+33
| | | | | | Use .Fa instead of .Va for function arguments. Reviewed by: sheldonh
* Fix a memory leak in getent() that occurred when the requested entryhoek2000-05-211-1/+3
| | | | | | could not be found. PR: bin/17084
* Use `Er' variable to define first column width in ERRORS section.phantom2000-05-065-5/+5
|
* mdoc related cleanup:phantom2000-05-061-17/+17
| | | | | | . use construction ".Aq Pa filename" instead of ".Pa <filename>" . replace Section Heading macro (.Sh) with Subsection (.Ss) macro for subsections
OpenPOWER on IntegriCloud