summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen
Commit message (Collapse)AuthorAgeFilesLines
* - 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.
* - 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.
* Replace the ldexp() implementation in libc with a renamed copy of thedas2005-01-221-0/+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.
* Sort sections.ru2005-01-2017-188/+188
|
* Markup: convert a display to a list.ru2005-01-151-10/+19
|
* remember to reset nextgrp in getnetgrent(), so that subsequent calls to ↵jon2005-01-131-0/+1
| | | | | | getnetgrent() doesn't return bogus information. MFC after: 3 days
* The `timep' argument of utime() is not an array of structs.keramida2005-01-071-1/+7
| | | | | | | Make sure we don't confuse the reader by claiming it is. PR: docs/75615 Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
* Update manual page after adding 'fts_bignum' field.pjd2005-01-071-1/+24
| | | | | Submitted by: Peter Jeremy <PeterJeremy@optushome.com.au> MFC after: 5 days
* Introduce new field 'fts_bignum' which is 64bit long and will allow topjd2005-01-071-2/+10
| | | | | | | | | | | | | | | make utilities like du(1) 64bit-clean. When this field is used, one cannot use 'fts_number' and 'fts_pointer' fields. This commit doesn't break API nor ABI. This work is part of the BigDisk project: http://www.FreeBSD.org/projects/bigdisk/ Discussed on: arch@ MFC after: 5 days
* Make syslog(3) thread safe.glebius2004-12-301-9/+53
| | | | | | | PR: bin/72394 Submitted by: Dan Nelson Reviewed by: deischen MFC after: 2 weeks
* Add LOG_NTP facility.krion2004-12-301-1/+3
| | | | | | Submitted by: Kurt Jaeger <pi at complx dot LF dot net> Approved by: ru MFC after: 3 days
* Mark up SIGSTOP with .Dv and use .Nm in HISTORY for marking up `signal'.keramida2004-12-291-3/+3
| | | | | PR: docs/75615 Submitted by: n-kogane@syd.odn.ne.jp
* Restore standard behavior: log to console only when normal loggingglebius2004-12-241-2/+3
| | | | | | | | | failed, not always. PR: bin/75356 Submitted by: Mark Knight <markk knigma org> Pointy hat to: glebius MFC after: 3 days
* Better rendering of the prototype for signal(3).jkoshy2004-12-231-6/+14
| | | | Suggested by: ru
* o The macro versions of sigemptyset(3), sigfillset(3), sigaddset(3),maxim2004-12-161-9/+12
| | | | | | | | | | | | | sigdelset(3) and sigismember(3) were killed about five years ago. o The functions (specifically sigismember(3)) could return -1 and set errno. PR: bin/75156 Obtained from: NetBSD MFC after: 2 weeks o Bump the date of the document.
* Fix description: the argument to setcontext(3) must have been previouslyrse2004-12-031-1/+1
| | | | | | | initialized "by a call to getcontext(3) or makecontext(3)" and not "by a call to setcontext(3) or makecontext(3)". MFC after: 3 days
* Remove ntp_gettime.c which was a wrapper around sysctlbyname(3).marks2004-11-182-54/+1
| | | | | | | This is now a native system call. Reviewed by: imp, phk, njl, peter Approved by: njl
* Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.bz2004-11-131-1/+1
| | | | | | | | | | | If turned on no NIS support and related programs will be built. Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il> PR: bin/68303 No objections: des, gshapiro, nectar Reviewed by: ru Approved by: rwatson (mentor) MFC after: 2 weeks
* Protect against local flooder of /var/run/log. Do not loop forever inglebius2004-11-041-13/+41
| | | | | | | | | | | | | syslog(3) if we are a priveleged program (sshd, su, etc.). - Make syslogd open an additional socket /var/run/logpriv, with 0600 permissions. - In libc, try to use this socket. - Do not loop forever if we are using this socket (partial backout of 1.31) Reviewed by: dwmalone, Andrea Campi <andrea webcom it> Approved by: julian (mentor) MFC after: 1 month
* When send()ing to syslogd return ENOBUFS keep trying until success.glebius2004-10-081-8/+18
| | | | | | | | | | This fixes a case, when DoSed syslogd completely loses messages. PR: bin/72366 Discussed with: dwmalone, millert@OpenBSD.org Approved by: julian (mentor) Obtained from: OpenBSD (rev. 1.17, 1.21 by millert) MFC after: 3 months
* Mutually cross-reference sysexits(3) and err(3). Add text to err(3)jkoshy2004-10-041-1/+6
| | | | | | recommending that the standard exit codes in sysexits(3) be used. Reviewed by: ru
* Remove __isnanl() to avoid conflicting with the same function in libm.das2004-09-241-10/+0
| | | | | | | | | | | __isnan() and __isnanf() must remain in libc for hysterical raisins. On the other hand, __isnanl() must live in libm because libm uses it internally and can't depend on older versions of libc to provide it. Fortunately, we don't need __isnanl() in both libraries. Prodded by: ale PR: 71698 MT5 candidate
* Arbitraly choose the Variant II for arm.cognet2004-09-231-1/+2
|
* Septepber -> Septembertjr2004-09-011-1/+1
| | | | Noticed by: ru
* Back out the previous change. glob() still does use strcmp() to ordertjr2004-09-011-4/+4
| | | | pathnames.
* Add cross-reference to ftw(3).tjr2004-08-291-0/+1
|
* Replace the current implementations of ftw() and nftw() with the OpenBSDtjr2004-08-243-193/+208
| | | | | implementations written by Todd C. Miller. These are cleaner, less buggy and actively maintained.
* Make sure we allocate at least enough space for the TCB for variant I TLS.dfr2004-08-231-0/+2
| | | | MFC after: 3 days
* Update documentation to match reality: glob() sorts its result accordingtjr2004-08-231-4/+4
| | | | | | | to the current LC_COLLATE setting, not in "ASCII order". PR: 54391 MFC after: 1 week
* Always allocate a TLS area even if its empty - libpthread relies ondfr2004-08-181-7/+4
| | | | | | having a valid %gs when it initialises. MFC after: 2 days
* Add support for TLS in statically linked programs.dfr2004-08-151-2/+225
|
* Avoid using void pointers in additive expressions.stefanf2004-08-141-1/+1
| | | | PR: 56653
* Add stubs for TLS functions. These will be replaced at runtime by thedfr2004-08-032-3/+73
| | | | functional versions in rtld.
* Remove an implicit int parameter by using prototypes.stefanf2004-08-021-9/+3
|
* Don't pass function pointers via a void * parameter.stefanf2004-08-021-4/+4
|
* Use newly added __used attribute to keep static function symbols from beingkan2004-07-291-8/+8
| | | | eliminated by compiler optimizer.
* Add support for multibyte characters.tjr2004-07-291-30/+84
|
* Add a paragraph break in the STANDARDS section to improve readability.tjr2004-07-291-0/+1
|
* Add support for multibyte characters.tjr2004-07-291-49/+112
|
* Document incorrect handling of multibyte characters due to limitationstjr2004-07-281-1/+6
| | | | of sh(1).
* ANSIfy and constify; this now builds with GCC 3.4.des2004-07-281-22/+19
|
* Add an nftw(3) link.tjr2004-07-251-0/+1
|
* Remove unused variable.das2004-07-231-9/+1
| | | | Noticed by: Todd Miller <Todd.Miller@courtesan.com>
* Fix two bugs in the signbit() macro, which was implemented last year:das2004-07-193-100/+2
| | | | | | | | - It was added to libc instead of libm. Hopefully no programs rely on this mistake. - It didn't work properly on large long doubles because its argument was converted to type double, resulting in undefined behavior.
* Replace seven nominally MD implementations of frexp() that are brokendas2004-07-182-1/+58
| | | | for subnormals with one implementation that works.
* Remove claim of conformance to IEEE Std. 1003.2. Replace it with a listtjr2004-07-181-7/+12
| | | | | | | of features required by the standard that the current implementation does not support. PR: 57911 (related)
* Remove claim of conformance to IEEE Std. 1003.2. Replace it with a listtjr2004-07-181-3/+7
| | | | | | | of features required by the standard that the current implementation does not support. PR: 57911
* Fix typo: carat -> caret.tjr2004-07-171-1/+1
|
* Unbreak alpha: On alpha a long double is the same as a double andmarcel2004-07-101-0/+4
| | | | | | consequently the exponent is only 11 bits. Testing whether the exponent equals 32767 in that case only effects to compiler warnings and thus build breakage.
OpenPOWER on IntegriCloud