summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Spelling fixes.mpp2004-06-212-3/+3
|
* Spelling fixes.mpp2004-06-216-7/+7
|
* PR: docs/67884mpp2004-06-211-1/+1
| | | | Submitted by: Chirstopger Nehren <apeiron@comcast.net>
* CLOCK_PROF and CLOCK_VIRTUAL are implemented now.kbyanc2004-06-171-7/+1
|
* Add reference to mac_get_link() in man page, which was omitted whenrwatson2004-06-172-1/+10
| | | | mac_get_link() and mac_set_link() were added.
* Rename variable name from `name' to `hostname'.ume2004-06-161-7/+7
| | | | | | | | | | This is a corresponding change to bin/67994. I'll soon commit bin/67994 into 4-STABLE. Actually, 5-CURRENT's getaddrinfo() doesn't have the problem mentiond in bin/67994. However, it is good to be in sync variable name with 4-STABLE and KAME. PR: bin/67994 Submitted by: JINMEI Tatuya <jinmei@ocean.jinmei.org>
* Avoid to touch red zone, in libpthread, ucontext may be saved by kernel'sdavidxu2004-06-151-1/+1
| | | | | | | get_mcontext, and libpthread will use signalcontext to deliver signal in userland, it looks same as kernel's send_sig does. Reviewed by: deischen, tjr
* The maximum value of iovcnt is IOV_MAX, not 16.kbyanc2004-06-151-1/+2
|
* Document the location of the header file which declares the functionbms2004-06-141-1/+2
| | | | | | prototypes documented in this manual page. PR: bin/4459
* Date bump.bms2004-06-141-1/+1
| | | | Requested by: krion
* Document some return values.bms2004-06-141-1/+20
| | | | | PR: bin/22198 Submitted by: Nick Johnson (with cleanups)
* Merge changes from the tzcode2004a import. Wherever possible I tried to bringstefanf2004-06-145-151/+374
| | | | | | us closer to the vendor branch. Requested by: wollman
* Use .Dv instead of .Li for all the RLIMIT_* constants.das2004-06-141-11/+11
| | | | Requested by: ru
* Document RLIMIT_AS. While here, correct an insertion sort error.das2004-06-131-5/+8
|
* Remove a stale reference to %Ef and %EF from a comment.stefanf2004-06-131-2/+2
|
* Change defualt time zone from GMT to UTC. This will not be MFC-ed, andkensmith2004-06-111-1/+6
| | | | was done before 5-STABLE on purpose...
* Remove a couple of casts added for an ancient Sun compiler.stefanf2004-06-081-11/+2
| | | | Approved by: das (mentor)
* The third operand of the conditional operator should have type void too.stefanf2004-06-082-2/+2
| | | | Approved by: das (mentor)
* In fts_build(), if we try to chdir and fail (e.g. due to lack of searchdas2004-06-082-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | permission), try to continue in FTS_DONTCHDIR mode. Of course this won't work for long paths, but we can't descend more than one pathname component beyond the directory anyway if we lack search permission. Here is a transcript demonstrating the change, where oldls is ls(1) linked with the old fts(3): das@VARK:~> mkdir t && touch t/{a,b,c} && chmod u-x t das@VARK:~> oldls t a b c das@VARK:~> oldls -l t das@VARK:~> \ls t a b c das@VARK:~> \ls -l t ls: a: Permission denied ls: b: Permission denied ls: c: Permission denied I had forgotten about this patch until bde reminded me. He reports using it without problems for over a year. PR: 45723
* Rename cantwrite() to prepwrite(). The latter is less confusing,das2004-06-081-4/+1
| | | | | | since the macro isn't really a predicate, and it has side-effects. Also, don't set errno if prepwrite() fails, since this is done in prepwrite() now.
* Rename cantwrite() to prepwrite(). The latter is less confusing,das2004-06-084-5/+6
| | | | since the macro isn't really a predicate, and it has side-effects.
* Set errno to EBADF on attempts to write to a stream that is notdas2004-06-081-2/+5
| | | | | | | | | writable. Affected callers include fwrite(), put?(), and *printf(). The issue of whether this is the right errno for funopened streams is unresolved, but that's an obscure case, and some errno is better than no errno. Discussed with: bde, jkh
* Use ".In" to mark up C include file names.yar2004-06-071-2/+4
|
* Each sentence should begin on a new line.yar2004-06-071-10/+16
|
* Extend and improve the mdoc(7) markup of this page.yar2004-06-071-32/+60
| | | | Reviewed by: ru
* Finally document the option to avoid zombie creationyar2004-06-073-2/+41
| | | | through ignoring SIGCHLD.
* Fix the ordering in the description of the dlsym() lookup procedure toroam2004-06-031-4/+4
| | | | | | | | reflect src/libexec/rtld-elf/rtld.c rev. 1.68 - the globally-loaded objects (RTLD_GLOBAL) are searched before the local object's DAG's. PR: 62770 Submitted by: Kimura Fuyuki <fuyuki@nigredo.org>
* use source address as a hint to determine destination addressume2004-06-021-50/+361
| | | | by getipnodebyname().
* Add Aerospace Corporation copyrights to EUI64 support files.brooks2004-06-012-0/+52
| | | | Suggested by: marcel, imp
* Change the signature of ftok from (const char *, char) to (const char *, int)tjr2004-06-011-1/+1
| | | | Obtained from: NetBSD (christos)
* Treat IPv4 private address as global scope rather than site scope.ume2004-05-311-1/+1
| | | | | Though it breaks RFC 3484, without this change, dest addr selection doesn't work well under NAT environment.
* use source address as a hint to determine destination address.ume2004-05-311-0/+111
| | | | Obtained from: KAME
* Buffer partial wide characters more efficiently: instead of storing thetjr2004-05-271-31/+46
| | | | | | multibyte representation in conversion state objects, store the accumulated wide character, set number and number of bytes remaining to avoid having to derive them every time mbrtowc() is called.
* Add support for an /etc/eui64 file modeled on /etc/ethers. The API isbrooks2004-05-263-2/+492
| | | | | | modeled on ethers(3) except that all functions are thread-safe. Reviewed by: simokawa
* Scan the source string for invalid wide characters in wcsrtombs()tjr2004-05-251-2/+9
| | | | in the dst == NULL case.
* Provide trivial macro implementations of getwc(), getwchar(), putwc() andtjr2004-05-254-0/+8
| | | | putwchar() to reduce function call overhead.
* Grab all the information we need about a character with one call totjr2004-05-231-7/+5
| | | | __maskrune() instead of one direct call and one through iswprint().
* Perform conversions straight from the stream buffer instead of scanningtjr2004-05-221-18/+19
| | | | | | | through byte by byte with mbrtowc(). In the usual case (buffer is big enough to contain the multibyte character, character does not straddle buffer boundary) this results in only one call to mbrtowc() for each wide character read.
* Associate a multibyte conversion state object with each stream. Reset ittjr2004-05-227-42/+24
| | | | | | | | | to the initial state when a stream is opened or seeked upon. Use the stream's conversion state object instead of a freshly-zeroed one in fgetwc(), fputwc() and ungetwc(). This is only a performance improvement for now, but it would also be required in order to support state-dependent encodings.
* Update the document date.alc2004-05-201-1/+1
| | | | Reminded by: ru@
* Remove a long obsolete paragraph from the BUGS section.alc2004-05-191-10/+0
|
* For amd64, explicitly compile mcount.po, rather than copying mcount.o. Wepeter2004-05-181-0/+6
| | | | | need to compile it with -fno-omit-frame-pointers since the mcount code depends on that, and by default it omits them without -pg.
* Clarify and extend paragraphs on interoperationyar2004-05-173-6/+55
| | | | | | | | | of fcntl(2), flock(2), and lockf(3) advisory locks. Add such a paragraph to the flock(2) manpage for the sake of consistency. Reviewed by: Cyrille Lefevre and Kirk McKusick on -arch MFC after: 2 weeks
* getgrent() and friends should set errno if there is an error.kientzle2004-05-172-1/+8
| | | | | | Also, clarify the manpage description of when errno is set and explain that clients should set errno=0 first if they want useful error information.
* POSIX prohibits any library function from setting errno to 0.kientzle2004-05-172-2/+6
| | | | | | | | Correct my previous commit and add a comment to the manpage indicating that the user must set errno to 0 if they wish to distinguish "no such user" from "error". Pointed out by: Jacques Vidrine (nectar@)
* Use conversion state objects to store the accumulated wide character,tjr2004-05-171-63/+67
| | | | | | low bound, and the number of bytes remaining instead of storing the raw byte sequence and deriving them every time mbrtowc() is called. This is much faster -- about twice as fast in some crude benchmarks.
* Use a simpler and faster buffering scheme for partial multibyte characters.tjr2004-05-172-52/+80
|
* If getpwent/getpwuid/getpwnam return NULL, they must also set errno.kientzle2004-05-171-0/+3
|
* Use a simpler, faster buffering scheme for partial characters in mbrtowc().tjr2004-05-141-21/+27
|
* Import the softfloat emulation library, needed for FreeBSD/arm right now.cognet2004-05-1439-0/+14975
| | | | | It should become useless when gcc 3.4 will be imported, as libgcc from gcc 3.4 contains this bits for arm.
OpenPOWER on IntegriCloud