summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Use a weak reference instead of a macro to make vfscanf an aliastjr2002-10-142-0/+4
| | | | for __vfscanf.
* FA, FB and FC are lead bytes according to recent Microsoft documentation.tjr2002-10-141-1/+1
|
* Style changes. Mainly removing excessive whitespace and parens.tjr2002-10-141-24/+29
|
* Ignore TMPDIR if the application is setugid.kris2002-10-131-1/+2
| | | | MFC after: 2 weeks
* Add restrict type-qualifier.mike2002-10-1218-31/+33
|
* Cosmetic: use LCMONETARY_SIZE_{FULL,MIN} defines like in other placesache2002-10-121-4/+5
|
* Describe the restrictions on seeking on wide character streams, and alsotjr2002-10-121-3/+15
| | | | point out that fseek() clears the ungetwc() buffer.
* Fix a typo causing incorrect formatting for negative values in some localestjr2002-10-121-3/+5
| | | | | | (at least the French ones), a memory leak upon successful termination, a pointer arithmetic error causing heap corruption, and an off-by-one bug causing incorrect amounts of padding at the right of the value.
* Save errno around calls to free(); at least some code paths clobber ittjr2002-10-111-0/+3
| | | | and we are not interested in any errors it may report.
* Document the kind of format string strfmon() expects. Sync the Errorstjr2002-10-111-5/+74
| | | | section with reality.
* Use the new struct lconv members to determine how to format internationaltjr2002-10-111-1/+12
| | | | monetary values.
* Non-negative amounts should not have an extra space in front of themtjr2002-10-111-6/+2
| | | | when the `(' flag is used.
* "Left precision" and "right precision" are not flags, but separate partstjr2002-10-111-13/+15
| | | | of the format string that appear after the field width.
* Zap the early-adopter transition aid before we get into seriouspeter2002-10-112-5/+1
| | | | | 5.0-R territory, as threatened. This only affects antique 5.0 systems that have not had a 'make world' done for well over a year.
* Do not allow empty GIDs for non-NIS entries.maxim2002-10-111-0/+7
| | | | MFC after: 2 weeks
* Add a UTF-8 encoding method, which will eventually replace the antiquetjr2002-10-1010-9/+349
| | | | | | | "UTF2" method. Although UTF-8 and the old UTF2 encoding are compatible for 16-bit characters, the new UTF-8 implementation is much more strict about rejecting malformed input and also handles the full 31 bit range of characters.
* Document that write(2) et al can return EROFS for attempts to write theschweikh2002-10-101-0/+7
| | | | | | | | disk label area. PR: 43891 Submitted by: Diomidis D. Spinellis <dds@istlab.dmst.aueb.gr> MFC after: 3 days
* Fix another spelling mistake.robert2002-10-101-1/+1
|
* Correct a spelling mistake.robert2002-10-101-1/+1
|
* Add cross-references to wide character versions of these functions.tjr2002-10-103-3/+6
|
* Cross-reference between byte and wide-character stdio functions. Removetjr2002-10-107-13/+13
| | | | references to fputwc() and fgetwc() being macros while I'm at it.
* de-__P()alfred2002-10-091-2/+1
|
* Add brief mention of the extattr_*_link() system call variants.rwatson2002-10-091-0/+16
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Add support for the 6 new C99 struct lconv members dealing with formattingtjr2002-10-094-4/+76
| | | | | | | | | international monetary values: int_p_cs_precedes, int_n_cs_precedes, int_p_sep_by_space, int_n_sep_by_space, int_p_sign_posn, int_n_sign_posn. This should not break existing binaries or LC_MONETARY data files. Reviewed by: ache MFC after: 1 month
* Drop almost 3k from /bin/sync by moving errno to a seperate filepeter2002-10-093-2/+31
| | | | | | to avoid all syscalls pulling in sys_errlst[]. Noted by: bde
* Add note that there is a kernel-imposed limit on the number of threadsarchie2002-10-081-0/+7
| | | | in a KSE group that may be simultaneously blocked in the kernel.
* Add MLINKS to kse.2.archie2002-10-081-0/+2
|
* Add a note to the Compatiblity section suggesting that these functionstjr2002-10-0613-13/+162
| | | | | only be used for byte values. Add cross-references to the wide-char counterparts.
* Put giant locks due to make getaddrinfo(), getnameinfo()ume2002-10-062-1/+41
| | | | | | | | | | and getipnodeby*() thread-safe. Our res_*() is not thread-safe. So, we share lock between getaddrinfo() and getipnodeby*(). Still, we cannot use getaddrinfo() and getipnodeby*() in conjunction with other functions which call res_*(). Requested by: many people
* Remove rants/whines about the rune interface being superior to thetjr2002-10-061-16/+2
| | | | ISO C interface.
* Remove a completely incorrect statement from the Return Values section.tjr2002-10-061-5/+6
| | | | Add cross-references to the restartable mulitybte functions (mbrlen(3) etc.)
* Add restrict type-qualifier to sem_getvalue().mike2002-10-043-3/+3
|
* Correct the regressive part of my last commit to these files:robert2002-10-042-7/+4
| | | | | | | use the .Fn macro instead of the .Fo ... .Fc combination to format function prototypes. Reminded by: bde
* Add a placeholder implementation of wcscoll() and wcsxfrm() which givestjr2002-10-045-4/+454
| | | | | locale-sensitive collation only in single-byte locales, and just does binary comparison for the others with extended character sets.
* Add stpcpy(3).obrien2002-10-034-2/+73
|
* Allocate 64K recieve buffer for DNS responses.ume2002-10-032-26/+50
| | | | | Though res_query.c also defines and refers MAXPACKET, it is not related to ansbuf. So, I didn't touch res_query.c.
* Improve three instances of questionable or confusing grammar.tjr2002-10-031-5/+8
|
* Add an example.tjr2002-10-031-1/+22
|
* Document towlower() and towupper() in separate manual pages instead oftjr2002-10-033-24/+89
| | | | | trying to confusingly document both on the same page. The new manual pages are based on tolower(3) and toupper(3) instead of the old towlower(3).
* Point out that although toupper() and tolower() really accept rune_t'stjr2002-10-032-4/+28
| | | | | and not just unsigned char's, callers should use towupper() and towlower() instead when working with wide characters if portability is a concern.
* towlower() appeared twice in the synopsis; one of the occurrences shouldtjr2002-10-031-3/+3
| | | | | | have been towupper(). Add towupper() to the Name section while I'm at it. Obtained from: NetBSD (junyoung)
* Add an Examples section with an example of how to use the functions.tjr2002-10-033-3/+54
|
* Add missing const qualifier in tfind().mike2002-10-032-2/+2
|
* Add a man page for the KSE system calls.archie2002-10-022-1/+586
| | | | Reviewed by: julian, ru
* Add an example showing how to use wcstok(). Fix ordering of See Also section.tjr2002-10-021-2/+15
|
* Add the 'restrict' type qualifier to the prototypes of `sigaction',robert2002-10-024-4/+9
| | | | | | `sigprocmask', `sigaltstack', and `sigwait' as well as to the prototypes of the apparantly unimplemented functions `sigtimedwait' and `sigwaitinfo'. This complies with IEEE Std 1003.1-2001.
* Add restrict type-qualifier.mike2002-10-024-14/+15
|
* Too strict error checking in rev. 1.22 broke pwd_mkdb(8) in NISmaxim2002-10-021-2/+2
| | | | | | environment. An empty UID and GID are valid there. Spotted by: rwatson
* Remove the "special processes" section. It has rotted, and the ideadd2002-10-021-7/+0
| | | | | | | | ceased to be useful when the number of "special processes" went from 3 to one per device. I considered replacing it with a "kernel threads" section, but this seemed like the wrong place for that. PR: 40969
* Don't claim to return the fileid which we unloaded. The kerneldd2002-10-011-9/+1
| | | | | | | | doesn't do this, and it wouldn't be very useful if it did, since the caller supplies us with that number. PR: 41329 Submitted by: Michael Galassi <nerd@xyz.com>
OpenPOWER on IntegriCloud