summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Make MSG_NOSIGNAL available to native programs.alfred2005-03-091-5/+9
| | | | | | Bump FreeBSD_version to note this change. Reviewed by: sobomax
* Have ttyname_r() try to ask DEVFS for the device name.phk2005-03-082-35/+16
| | | | | | Document ttyname_r(). Simplify threaded/unthreaded stuff a lot.
* Make the returnvalue of times(3) insensitive to changes in wall-clock.phk2005-03-081-3/+5
| | | | PR: 78537
* Add korean NLS message catalogs for libcphantom2005-03-072-0/+498
| | | | | Submitted by: Hye-Shik Chang <perky@FreeBSD.org> PR: misc/78290
* Add manpage links for frexpf, frexpl, ldexpf, and ldexpl.das2005-03-071-0/+2
|
* Document frexpl and ldexpl.das2005-03-072-13/+25
|
* - Define LDBL_NBIT to be a mask indicating the position of the integerdas2005-03-071-2/+10
| | | | | | | | | bit in a long double. For architectures that don't have such a bit, LDBL_NBIT is 0. This makes it possible to say `mantissa & ~LDBL_NBIT' in places that previously used an #ifdef to select the right expression. The optimizer should dispense with the extra arithmetic when LDBL_NBIT is 0 anyway. - Add an XXX comment for the big endian case.
* Define LDBL_NBIT to be a mask indicating the position of the integerdas2005-03-076-3/+9
| | | | | | | | bit in a long double. For architectures that don't have such a bit, LDBL_NBIT is 0. This makes it possible to say `mantissa & ~LDBL_NBIT' in places that previously used an #ifdef to select the right expression. The optimizer should dispense with the extra arithmetic when LDBL_NBIT is 0.
* Unbreak strsignal(). This is an MFC candidate.mux2005-03-061-2/+3
| | | | Reported by: Sean McNeil <sean@mcneil.com>
* Do not require the pty(4) majors to be anything in particular.green2005-03-041-3/+0
|
* Fix incorrect comment.davidxu2005-03-011-1/+1
|
* Add polish version of libc NLS catalog.pjd2005-03-011-0/+249
|
* Backout NLS catalog handling, until all edge cases are resolvedphantom2005-02-271-11/+0
|
* Unbreak !NLS casephantom2005-02-272-2/+2
|
* Make the format of LC_COLLATE files architecture independent.ru2005-02-272-3/+14
|
* Revert accidiental removal of string.h inclusion.phantom2005-02-271-0/+1
|
* Enable processing of NLS catalogs while building/installing of libcphantom2005-02-271-0/+11
|
* Add russian version of libc NLS catalogphantom2005-02-271-0/+256
| | | | | Translated by: Valeriy Kravchuk <openxs@ipnet.kiev.ua> Alexey Dokuchaev <danfe@nsu.ru>
* Add template NLS catalog for strerror(), strerror_r() and strsignal()phantom2005-02-271-0/+249
| | | | localization support
* Remove the check about whether MALLOC_EXTRA_SANITY is defined,delphij2005-02-271-2/+0
| | | | | | | | | surrounding the undef'ing it. It does not seem necessary to undef some symbol that is not exist, and gcc does not complain about whether a symbol is exist before #undef'ing it out. Spotted by: mingyanguo via ChinaUnix.net forum Reviewed by: phk
* Add NLS catalogs support to strerror(), strerror_r() and strsignal().phantom2005-02-272-29/+97
| | | | | | Controlled by NLS define, currently disabled by default. Idea obtained from: NetBSD
* . Bump .Dd'sphantom2005-02-273-7/+20
| | | | | | . Note POSIX 1003.1-2001 conformation . Add ERRORS section for catgets(3) . Note what catopen(3) returns EINVAL, if catalog is corrupt
* Bring in NetBSD's improvements and cleanups to NLS subsystem, makingphantom2005-02-272-392/+96
| | | | | | | | | | | it type and endian clean and removing of stdio dependency from NLS functions (catalog files now are processed via mmap()) Also following changes were done (against NetBSD version): . If mmap() failed, set errno to EINVAL and do not try to munmap() file Obtained from: NetBSD
* . Static'ize functions exported via function reference variables only.phantom2005-02-2711-117/+112
| | | | | | | | | | | | . Replace inclusion of sys/param.h to sys/cdefs.h and sys/types.h where appropriate. . move _*_init() prototypes to mblocal.h, and remove these prototypes from .c files . use _none_init() in __setrunelocale() instead of duplicating code . move __mb* variables from table.c to none.c allowing us to not to export _none_*() externs, and appropriately remove them from mblocal.h Ok'ed by: tjr
* ANSI'fy prototypesphantom2005-02-273-11/+5
|
* Replace usage of strerror()/strcpy() with strerror_r() here, reducingphantom2005-02-271-4/+2
| | | | | | | number of required operations to get error message and avoiding of strerror's buffer clobbering. Also ANSI'fy prototypes while I'm here
* Make the format of LC_CTYPE files architecture independent byru2005-02-261-66/+156
| | | | | | | | | | | | | introducing the disk formats for _RuneLocale and friends. The disk formats do not have (useless) pointers and have 32-bit quantities instead of rune_t and long. (htonl(3) only works with 32-bit quantities, so there's no loss). Bootstrap mklocale(1) when necessary. (Bootstrapping from 4.x would be trivial (verified), but we no longer provide pre-5.3 source upgrades and this is the first commit to actually break it.)
* Mark _rtld_allocate_tls and _rtld_free_tls as weak symbols for Variant Idavidxu2005-02-261-0/+5
| | | | | | tls. Reviewed by: dfr
* Fix a few markup nits in previous commit.trhodes2005-02-251-1/+1
| | | | Noticed by: ru, who else? :)
* Do not mislead users into checking for a mount_ufs or mount_ufs2 manualtrhodes2005-02-241-1/+3
| | | | | | | page. They do not exist. PR: 53303 Submitted by: Marc Silver <marcs@draenor.org> (original version)
* -document the fact that extattr_get_* can fail if the requestedcsjp2005-02-241-1/+3
| | | | | | | | attribute does not exist on the file. -bump document date Reviewed by: rwatson,trhodes MFC after: 1 week
* Xref chflags(2).trhodes2005-02-231-1/+7
| | | | | | Note that unlink.2 can return EPERM if the immutable or append-only flags are set. PR: 77043
* Add an EXAMPLES section[1], quote Nd, and bump doc date.trhodes2005-02-231-2/+12
| | | | | PR: 53621 [1] Submitted by: Faried Nawaz <fn@hungry.com> [1]
* Fix EOVERFLOW detection in vswprintf(3)fjoe2005-02-211-4/+5
| | | | | Reviewed by: tjr MFC after: 2 weeks
* Expand contractions.ru2005-02-151-1/+1
|
* - Use socklen_t.stefanf2005-02-141-2/+1
| | | | - No need for two instances of 'num'.
* Fix most cases where the address of an int is passed to a function expecting astefanf2005-02-141-1/+1
| | | | socklen_t * argument.
* . Convert return type of gai_strerror() to 'const char *' as POSIX requires.phantom2005-02-141-29/+21
| | | | | . Convert ai_errlist[] to simple 'char *' array, and appropriately optimize gai_strerror()
* EAI_ADDRFAMILY and EAI_NODATA are obsoleted, and not definined anymore,phantom2005-02-141-7/+0
| | | | so do not export these definitions via manual page
* Expand contractions.ru2005-02-134-4/+4
|
* Expand *n't contractions.ru2005-02-1320-32/+32
|
* Fix comparisons that test if an unsigned value is < 0.stefanf2005-02-122-4/+4
| | | | Reviewed by: tjr
* Don't read more than the given 'len' bytes from the 'big' string.pjd2005-02-111-1/+1
| | | | | | PR: misc/77369 Submitted by: Ed Maste <emaste@phaedrus.sandvine.ca> MFC after: 1 week
* read(), pread(), write(), and pwrite() return EINVAL if they are askedcperciva2005-02-102-0/+10
| | | | for more than INT_MAX bytes.
* Fixed the misplaced $FreeBSD$.ru2005-02-0914-20/+26
|
* Update my email address.das2005-02-0610-10/+10
|
* Cleanup prototypes and remove dead codephantom2005-02-012-72/+21
| | | | MFC After: 3 days
* use strdup().ume2005-01-281-2/+1
| | | | | Obtained from: KAME MFC after: 1 week
* make _getipnodebyname_multi() static.ume2005-01-271-1/+1
|
* implement AI_NUMERICSERV (as defined in RFC3493).ume2005-01-271-10/+13
| | | | | Obtained from: KAME MFC after: 1 week
OpenPOWER on IntegriCloud