summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* Avoid truncating invalid wide characters that are outside the range oftjr2002-10-161-1/+8
| | | | 'unsigned char'; signal an error instead.
* Add a Bugs section and note that fmtcheck() is out of sync with printf();tjr2002-10-161-1/+7
| | | | it does not recognise any of the conversions or modifiers added in C99.
* Add support for the XSI %C and %S formats, which are the same as %lctjr2002-10-162-0/+24
| | | | and %ls.
* Use kqueue(2) instead of poll(2) to wait for replies and timeoutsiedowse2002-10-151-158/+90
| | | | | | | in the UDP RPC client code. As a side-effect, this fixes some bugs that might prevent the RPC call from ever timing out for example if the server keeps responding with the wrong xid. This could probably be simplified further by using the EVFILT_TIMER filter.
* Add cross-references to the wide character counterparts of these functions.tjr2002-10-154-4/+8
|
* Eliminate superfluous memory access in memcpy(3)/memmove(3).sobomax2002-10-151-13/+8
| | | | | Obtained from: NetBSD MFC after: 1 week
* Remove stray comma at the end of the See Also list.tjr2002-10-151-1/+1
|
* 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
|
OpenPOWER on IntegriCloud