| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
only be used for byte values. Add cross-references to the wide-char
counterparts.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
ISO C interface.
|
|
|
|
| |
Add cross-references to the restartable mulitybte functions (mbrlen(3) etc.)
|
| |
|
|
|
|
|
|
|
| |
use the .Fn macro instead of the .Fo ... .Fc combination to
format function prototypes.
Reminded by: bde
|
|
|
|
|
| |
locale-sensitive collation only in single-byte locales, and just does
binary comparison for the others with extended character sets.
|
| |
|
|
|
|
|
| |
Though res_query.c also defines and refers MAXPACKET, it is not
related to ansbuf. So, I didn't touch res_query.c.
|
| |
|
| |
|
|
|
|
|
| |
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).
|
|
|
|
|
| |
and not just unsigned char's, callers should use towupper() and towlower()
instead when working with wide characters if portability is a concern.
|
|
|
|
|
|
| |
have been towupper(). Add towupper() to the Name section while I'm at it.
Obtained from: NetBSD (junyoung)
|
| |
|
| |
|
|
|
|
| |
Reviewed by: julian, ru
|
| |
|
|
|
|
|
|
| |
`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.
|
| |
|
|
|
|
|
|
| |
environment. An empty UID and GID are valid there.
Spotted by: rwatson
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Obtained from: NetBSD
Sponsored by: Apple
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
trying to shrink the buffer with realloc() before returning it.
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
of memory.
|
|
|
|
| |
runs out of memory, always call va_end.
|
| |
|
|
|
|
|
|
| |
PR: bin/41721
Reviewed by: tjr, silence on -audit
MFC after: 2 weeks
|
| |
|
|
|
|
|
| |
of the rune functions (except sgetrune() and sputrune(), which are really
macros).
|
|
|
|
| |
versions of printf() and scanf().
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
assignment. This is needed on powerpc but is also more correct for the
other ports.
Submitted by: grehan
Tested on: alpha, i386, sparc64
|
|
|
|
|
| |
vfwscanf(), vswscanf(), vwscanf(). As the name suggests, these are wide-
character versions of the scanf() family of functions.
|
|
|
|
|
| |
characters, non-whitespace wide character strings and wide character
strings in a scanset.
|
| |
|
|
|
|
|
| |
Restrict qualifiers were added to the existing prototypes in <inttypes.h>
and the typedef for wchar_t was removed.
|
|
|
|
| |
will need to use.
|
|
|
|
|
|
|
|
|
|
|
| |
- Sort local variable declarations.
- Protect a hand-formatted comment from indent(1).
- Use portable casts, even though this is machine-dependant code.
- Remove extraneous blank lines.
- Remove trailing newline.
- Use sigdelset(3), not SIGDELSET(9).
Requested by: bde
|
| |
|
|
|
|
| |
formatted wide-character output.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the correct constants directly from sysconf() rather than calling
sysctl() to tell us the (still compiled-in) value. Leave the CTL_POSIX1B
stuff alone for now (but I'd like to see this replaced with a single
structure returning all of the relevant information).
Implement all of the keys from 1003.1-2001 that we can. Ensure that
the build will break if someone redefines an option constant to zero
without implementing the necessary presence-detection logic here.
(4 of 5)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
hack, thereby allowing future extensions to the structure (e.g., for extended
attributes) without rebreaking the ABI. FTSENT now contains a pointer to the
parent stream, which fts_compar() can then take advantage of, avoiding the
undefined behavior previously warned about. As a consequence of this change,
the prototype of the comparison function passed to fts_open() has changed
to reflect the required amount of constness for its use. All callers in the
tree are updated to use the correct prototype.
Comparison functions can now make use of the new parent pointer to access
the new stream-specific private data pointer, which is intended to assist
creation of reentrant library routines which use fts(3) internally.
Not objected to in spirit by: -arch
|