summaryrefslogtreecommitdiff
path: root/lib/libc
AgeCommit message (Collapse)Author
2003-05-08move lsearch(3) and insque(3) from libcompat -> libc; they are now POSIXTodd C. Miller
2003-05-07typos;Jason McIntyre
2003-05-06updated URL from Leandro Costa;Jason McIntyre
ok millert@
2003-05-05Add support for command line args in rshprog, e.g. "ssh -C".Todd C. Miller
2003-05-03typo in STANDARDS (this man page is getnameinfo, not getaddrinfo);Jason McIntyre
from wiz@netbsd
2003-05-03typos;Jason McIntyre
2003-05-03typos;Jason McIntyre
ok millert@
2003-05-03these files all had >9 arguments to .Nd, causing the name description to beJason McIntyre
truncated. i wrapped them in double quotes to preserve the line. grep inspired by an -mdoc lesson from millert@
2003-05-02Add Doug Gwyn's portable alloca() for platforms w/o an assemblerTodd C. Miller
version. Normally, gcc provides its own alloca() (unless -fno-builtin is specified). The C version is decidedly suboptimal--we really need proper assembler versions but this will work as a stop-gap measure.
2003-05-01-Wall cleanup, make rcsid variables constAnil Madhavapeddy
millert@ ok
2003-05-01add missing enumeration case to select to kill gcc warningAnil Madhavapeddy
millert@ ok
2003-05-01typos;Jason McIntyre
2003-05-01typos;Jason McIntyre
ok itojun@
2003-05-01typos;Jason McIntyre
ok jakob@
2003-04-30a extended -> an extended;Jason McIntyre
2003-04-30typos;Jason McIntyre
2003-04-29remove printf from static dlctl and dlerror stubs. Return -1 ifMarco S Hyman
dlctl called from a static prog. dlerror will display the proper error in if also called. -1 return suggested by drahn@ general ok from several others
2003-04-28Change mquery() function call signature to be the same a mmap(). ItDale Rahn
needs the prot/flags info and passing the addresses via arg/return allows it to be traced via ktrace better than an in/out paramter. This adds a new mquery syscall and renames the old one to omquery. New kernel _MUST_ be built, booted, and 'make includes' before building ld.so with this change.
2003-04-25Remove note about POLLMSG. not used and not provided. ok millert@Ted Unangst
2003-04-25Make function declaration and man page match prototype. Closes PR 3236Todd C. Miller
2003-04-25backout mquery change, something broke when not combined with a different diff.Dale Rahn
2003-04-25Document hw.sensorsAlexander Yurchenko
2003-04-25always widen the imputed netmask if it is narrower than the specified octets.Henning Brauer
fixes a strange behaviour where inet_net_pton would always return 4 (bits) for multicast addresses no matter how many octets were specified. negotiated with Paul Vixie, original author of this function. ok millert@
2003-04-25Document changes to mquery(2) function signature change, now the same as mmap(2)Dale Rahn
2003-04-25change mquery() function call signature to be the same a mmap(). ItDale Rahn
needs the prot/flags info and passing the addresses via arg/return allows it to be traced via ktrace better than an in/out paramter. This adds a new mquery syscall and renames the old one to omquery. New kernel _MUST_ be built and installed before building ld.so with this change. ok millert@ tedu@
2003-04-22Indent delay slot insnsJason Wright
2003-04-22char * in prototypes should be const; Kamo HiroyasuTodd C. Miller
2003-04-21Mention that stroul() et al *do* accept negative numbers, theyTodd C. Miller
just (effectively) cast to unsigned. ho@ OK
2003-04-21Close .BlMike Pechkin
millert@
2003-04-18Fix format odditiy in 'ERRORS' section, formats like mmap(2) manpage now.Dale Rahn
2003-04-18Document that mquery() returns EINVAL if request memory was not availableDale Rahn
when MAP_FIXED is specified. ok tedu@
2003-04-17fix typo; Julien BordetTodd C. Miller
2003-04-17ELF fixups, ELF PIC syscall support, asm changes as requested by assembler.Dale Rahn
2003-04-16Warn people that the value of the pointer passed in to asprinf()Todd C. Miller
is implementation-specific when we get ENOMEM but mention that *we* set it to NULL.
2003-04-14There are two related changes.Artur Grabowski
The first one is an mquery(2) syscall. It's for asking the VM system about where to map things. It will be used by ld.so, read the man page for details. The second change is related and is a centralization of uvm_map hint that all callers of uvm_map calculated. This will allow us to adjust this hint on architectures that have segments for non-exec mappings. deraadt@ drahn@ ok.
2003-04-12Change copyright to a less restrictive ISC-style license to encourageTodd C. Miller
people to bundle this code.
2003-04-12underfined -> undefined;Jason McIntyre
from Fabio Olive Leite;
2003-04-11bindresvport() does not automatically select another port if theTodd C. Miller
specified one is in use (closes PR 3192). While I am here, reorganize and clean up much of the wording. This now reads like a native speaker of English wrote it.
2003-04-10make the second example valid; ok millert@Jason Peel
2003-04-09makeing local table static saves some bytes; idea from mickey@Markus Friedl
2003-04-07Xr to strlcpy and strlcat more; ok millertTheo de Raadt
2003-04-06string handling; ok millertTheo de Raadt
2003-04-05fix typo, bad tdeval; pt out by emmf26@umr.eduPeter Valchev
2003-04-05add a size parameter to doabbr(), and convertThierry Deval
strcpy/sprintf -> strlcpy/snprintf. ok tedu@, krw@; help from deraadt@, millert@
2003-04-05sprintf -> snprintfThierry Deval
ok tedu@, hints deraadt@, millert@
2003-04-05strcpy/strcat -> strlcpy/strlcatThierry Deval
ok tedu@, hints by deraadt@ and millert@
2003-04-04strcat -> strlcatHans Insulander
ok deraadt@ tedu@ tdeval@
2003-04-03exceeds -> exceedes;Jason McIntyre
from Pedro Bastos (thanks)
2003-04-02Use snprintf instead of a strcpy(), strncat() and strcat() sequenceTodd C. Miller
deraadt@ OK
2003-04-02fifo -> FIFOJason McIntyre
ok millert@