Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | de-__P() | alfred | 2002-10-09 | 1 | -2/+1 |
| | |||||
* | Add brief mention of the extattr_*_link() system call variants. | rwatson | 2002-10-09 | 1 | -0/+16 |
| | | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories | ||||
* | Add support for the 6 new C99 struct lconv members dealing with formatting | tjr | 2002-10-09 | 4 | -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 file | peter | 2002-10-09 | 3 | -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 threads | archie | 2002-10-08 | 1 | -0/+7 |
| | | | | in a KSE group that may be simultaneously blocked in the kernel. | ||||
* | Add MLINKS to kse.2. | archie | 2002-10-08 | 1 | -0/+2 |
| | |||||
* | Add a note to the Compatiblity section suggesting that these functions | tjr | 2002-10-06 | 13 | -13/+162 |
| | | | | | only be used for byte values. Add cross-references to the wide-char counterparts. | ||||
* | Put giant locks due to make getaddrinfo(), getnameinfo() | ume | 2002-10-06 | 2 | -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 the | tjr | 2002-10-06 | 1 | -16/+2 |
| | | | | ISO C interface. | ||||
* | Remove a completely incorrect statement from the Return Values section. | tjr | 2002-10-06 | 1 | -5/+6 |
| | | | | Add cross-references to the restartable mulitybte functions (mbrlen(3) etc.) | ||||
* | Add restrict type-qualifier to sem_getvalue(). | mike | 2002-10-04 | 3 | -3/+3 |
| | |||||
* | Correct the regressive part of my last commit to these files: | robert | 2002-10-04 | 2 | -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 gives | tjr | 2002-10-04 | 5 | -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). | obrien | 2002-10-03 | 4 | -2/+73 |
| | |||||
* | Allocate 64K recieve buffer for DNS responses. | ume | 2002-10-03 | 2 | -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. | tjr | 2002-10-03 | 1 | -5/+8 |
| | |||||
* | Add an example. | tjr | 2002-10-03 | 1 | -1/+22 |
| | |||||
* | Document towlower() and towupper() in separate manual pages instead of | tjr | 2002-10-03 | 3 | -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's | tjr | 2002-10-03 | 2 | -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 should | tjr | 2002-10-03 | 1 | -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. | tjr | 2002-10-03 | 3 | -3/+54 |
| | |||||
* | Add missing const qualifier in tfind(). | mike | 2002-10-03 | 2 | -2/+2 |
| | |||||
* | Add a man page for the KSE system calls. | archie | 2002-10-02 | 2 | -1/+586 |
| | | | | Reviewed by: julian, ru | ||||
* | Add an example showing how to use wcstok(). Fix ordering of See Also section. | tjr | 2002-10-02 | 1 | -2/+15 |
| | |||||
* | Add the 'restrict' type qualifier to the prototypes of `sigaction', | robert | 2002-10-02 | 4 | -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. | mike | 2002-10-02 | 4 | -14/+15 |
| | |||||
* | Too strict error checking in rev. 1.22 broke pwd_mkdb(8) in NIS | maxim | 2002-10-02 | 1 | -2/+2 |
| | | | | | | environment. An empty UID and GID are valid there. Spotted by: rwatson | ||||
* | Remove the "special processes" section. It has rotted, and the idea | dd | 2002-10-02 | 1 | -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 kernel | dd | 2002-10-01 | 1 | -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> | ||||
* | Add getopt_long(3). | eric | 2002-09-29 | 3 | -2/+771 |
| | | | | | Obtained from: NetBSD Sponsored by: Apple | ||||
* | Remove masking macros for getwc(), putwc(), putwchar() and getwchar(). | tjr | 2002-09-28 | 4 | -12/+4 |
| | | | | | | Although there was nothing wrong with getwc() and putwc(), getwchar() and putwchar() assumed that <stdio.h> had been included before <wchar.h>, which is not allowed by the standard. | ||||
* | Zap now-unused SHLIB_MINOR | peter | 2002-09-28 | 1 | -1/+0 |
| | |||||
* | Back out previous, free the buffer when __vfprintf() fails and don't bother | tjr | 2002-09-26 | 1 | -19/+13 |
| | | | | trying to shrink the buffer with realloc() before returning it. | ||||
* | Back out previous and solve the problems a different way: move va_start/ | tjr | 2002-09-26 | 1 | -20/+13 |
| | | | | | | | | va_end closer to the __vfprintf() call, free the buffer when __vfprintf() fails and don't bother trying to shrink the buffer with realloc() before returning it. Submitted by: bde | ||||
* | Simplify by removing unneeded local variables and explicit null termination. | tjr | 2002-09-26 | 1 | -12/+8 |
| | |||||
* | Simplify by removing useless local variables and explicit null termination. | tjr | 2002-09-26 | 1 | -9/+5 |
| | |||||
* | Correctly handle the case where __vfwprintf() fails because it runs out | tjr | 2002-09-26 | 1 | -1/+7 |
| | | | | of memory. | ||||
* | Sync with OpenBSD: avoid memory leak when __vfprintf() fails because it | tjr | 2002-09-26 | 2 | -24/+39 |
| | | | | runs out of memory, always call va_end. | ||||
* | <sys/types.h> is no longer needed. | mike | 2002-09-25 | 1 | -1/+0 |
| | |||||
* | Disqualify UID/GID with non-numeric character. | maxim | 2002-09-25 | 1 | -3/+13 |
| | | | | | | PR: bin/41721 Reviewed by: tjr, silence on -audit MFC after: 2 weeks | ||||
* | Use the standardized CHAR_BIT constant instead of NBBY in userland. | mike | 2002-09-25 | 1 | -2/+3 |
| | |||||
* | Warn when setinvalidrune() is referenced for consistency with the rest | tjr | 2002-09-24 | 1 | -0/+1 |
| | | | | | of the rune functions (except sgetrune() and sputrune(), which are really macros). | ||||
* | Add cross-references between wide character and single-byte character | tjr | 2002-09-24 | 3 | -2/+6 |
| | | | | versions of printf() and scanf(). | ||||
* | Remove an unneeded call to _sfrefill() that was missed in the conversion | tjr | 2002-09-24 | 1 | -6/+0 |
| | | | | | from vfscanf() to vfwscanf(). It doesn't hurt to have it there, but it's redundant since __fgetwc() will refill the buffer if it needs to. | ||||
* | Use the new va_copy macro to copy variable argument lists instead of | tjr | 2002-09-24 | 2 | -2/+2 |
| | | | | | | | | assignment. This is needed on powerpc but is also more correct for the other ports. Submitted by: grehan Tested on: alpha, i386, sparc64 | ||||
* | Add implementations of wscanf() and related functions: fwscanf(), swscanf(), | tjr | 2002-09-23 | 9 | -6/+1530 |
| | | | | | vfwscanf(), vswscanf(), vwscanf(). As the name suggests, these are wide- character versions of the scanf() family of functions. | ||||
* | Implement the %lc, %ls and %[ conversions, which read sequences of wide | tjr | 2002-09-23 | 2 | -16/+137 |
| | | | | | characters, non-whitespace wide character strings and wide character strings in a scanset. | ||||
* | The character argument for __ungetwc() should be wint_t instead of wchar_t. | tjr | 2002-09-23 | 1 | -1/+1 |
| | |||||
* | Add the remaining C99 wide character string to integer conversion functions. | tjr | 2002-09-22 | 6 | -16/+550 |
| | | | | | Restrict qualifiers were added to the existing prototypes in <inttypes.h> and the typedef for wchar_t was removed. | ||||
* | Add an unlocked version of ungetwc(), __ungetwc(), that __vfwscanf() | tjr | 2002-09-22 | 2 | -9/+22 |
| | | | | will need to use. |