summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* 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
* fill ai_canonname field for numeric hostname, by the given hostname.ume2005-01-271-7/+25
| | | | | | | follow new recommendation in RFC3493. Obtained from: KAME MFC after: 1 week
* query A RR before AAAA RR.ume2005-01-271-10/+10
| | | | MFC after: 1 week
* - Move the functions presently described in in ieee(3) to their owndas2005-01-272-2/+9
| | | | | | | | manpages. They are not very related, so separating them makes it easier to add meaningful cross-references and extend some of the descriptions. - Move the part of math(3) that discusses IEEE 754 to the ieee(3) manpage.
* Don't compile the gdtoa package's strtoIg.c into libc.das2005-01-271-1/+1
| | | | I never got around to making use of it.
* EISCONN may be returned by sendto() if an attempt is made to specify thekeramida2005-01-241-0/+2
| | | | | | | | destination address to a datagram socket that is already connected. Submitted by: Rudolf Cejka <cejkar@fit.vutbr.cz> PR: docs/76399 MFC after: 1 week
* Markup and grammar fixes.ru2005-01-243-23/+31
|
* Update man pages to be in line with guidelines for IPv6 in FreeBSD.gnn2005-01-243-653/+17
| | | | | | | | | FreeBSD currently implements the most up to date IPv6 APIs for option and route header parsing. This checkin marks the older APIs as deprecated and points the reader to the newer pages. Reviewed by: Jun-ichiro Itojun Approved by: rwatson (mentor)
* Fix a dangling MKLINK from my last commit.gnn2005-01-241-1/+1
| | | | Approved by: rwatson (mentor)
* - Document ldexpf().das2005-01-231-17/+12
| | | | | | - Although ldexp() is in libc for backwards compatibility, ldexpf() is in its proper place in libm. Document both as being in libm. - The ldexp() and ldexpf() functions conform to C99.
* - Document frexpf().das2005-01-231-9/+13
| | | | | | | - Neither frexp() nor frexpf() set errno. - Although frexp() is in libc for backwards compatibility, frexpf() is in its proper place in libm. Document both as being in libm. - The frexp() and frexpf() functions conform to C99.
* Submitted by: George V. Neville-Neil (gnn at freebsd dot org)gnn2005-01-237-0/+2099
| | | | | | | | | | | | | | | | Reviewed by: Kame Project (including Itojun-san, Jinmei-san and Suzuki-san) Approved by: Robert Watson (robert at freebsd dot org) Obtained from: Kame Project and OpenBSD Replace manual pages that may have violated the IETF's Copyright. All come from the Kame tree. Several were from OpenBSD except for ip6.4, and the inet6* pages which were rewritten by me. All of the text is new and drawn from reading the code and documentation.
* Submitted by: George V. Neville-Neil (gnn at freebsd dot org)gnn2005-01-237-2357/+2
| | | | | | | | | Approved by: Robert Watson (robert at freebsd dot org) Remove files in preparation for replacement with totally new versions of the manual pages. Update the Makefile to handle the new file to be added.
* Minor white space tweak.rwatson2005-01-231-1/+1
| | | | MFC after: 3 days
* Especially mention that setting errno to EINVAL in "no conversion" caseache2005-01-222-4/+8
| | | | | | is not portable. Asked by: joerg
* Replace the ldexp() implementation in libc with a renamed copy of thedas2005-01-226-739/+123
| | | | | | | | | | | | | | | | scalbn() implementation from libm. (The two functions are defined to be identical, but ldexp() lives in libc for backwards compatibility.) The old ldexp() implementation... - was more complicated than this one - set errno instead of raising FP exceptions - got some corner cases wrong (e.g. ldexp(1.0, 2000) in round-to-zero mode) The new implementation lives in libc/gen instead of libc/$MACHINE_ARCH/gen, since we don't need N copies of a machine-independent file. The amd64 and i386 platforms retain their fast and correct MD implementations and override this one.
OpenPOWER on IntegriCloud