summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* POSIX says that 0[xX] prefix is _optional_ even in base 16 case, make itache2005-01-216-6/+30
| | | | | | | | | | really so. "If the value of base is 16, the characters 0x or 0X may optionally precede the sequence of letters and digits, following the sign if present." Found by: joerg
* Sort sections.ru2005-01-2084-715/+715
|
* Cut out the gordian handling of subnormals by bit fiddling, anddas2005-01-181-128/+15
| | | | | | | | | | instead use the FPU to convert subnormals to normals. (NB: Further simplification is possible, such as using the FPU for the rounding step.) This fixes a bug reported by stefanf where long double subnormals in the Intel 80-bit format would be output with one fewer digit than necessary when the default precision was used.
* Correct the values of FLT_ROUNDS for the FE_UPWARD and FE_DOWNWARD cases.das2005-01-181-2/+2
|
* Eliminate macro calls inside literal displays.ru2005-01-154-5/+5
|
* Fixed markup bug.ru2005-01-151-10/+22
|
* Markup: convert a display to a list.ru2005-01-151-10/+19
|
* Markup style.ru2005-01-152-6/+2
|
* Add a file missed in the previous commit:das2005-01-151-0/+5
| | | | | | Eliminate gdtoa.mk and move its contents to ${MACHINE_ARCH}/Makefile.inc. The purpose of having a separate file involved an abandoned scheme that would have kept contrib/gdtoa out of the include path for the rest of libc.
* Eliminate gdtoa.mk and move its contents to ${MACHINE_ARCH}/Makefile.inc.das2005-01-1514-38/+20
| | | | | The purpose of having a separate file involved an abandoned scheme that would have kept contrib/gdtoa out of the include path for the rest of libc.
* Markup fixes.ru2005-01-141-6/+6
|
* 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
* Fix some signed/unsigned comparisons. Fix prototypes while I'm here.brian2005-01-121-3/+6
| | | | | | PR: 28890 Submitted by: matthias.andree at web dot de MFC after: 7 days
* Scheduled mdoc(7) sweep.ru2005-01-1112-78/+123
|
* Implement rpmatch(), a semi-standard interface (as found on AIX, Tru64,tjr2005-01-093-2/+121
| | | | | | GNU) for determining whether a string is an affirmative or negative response to a question according to the current locale. This is done by matching the response against nl_langinfo(3) items YESEXPR and NOEXPR.
* 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
* Don't ignore the last line of config file (/etc/hosts, /etc/services, etc)sobomax2005-01-035-15/+12
| | | | | | | | which doesn't end in \n, since it may be very confusing. Also this should increase consistency, since most other config files work just fine regardless of the presence of traling \n in the last line. MFC After: 2 weeks
* Constify arguments.marcel2005-01-035-11/+11
|
* Make syslog(3) thread safe.glebius2004-12-301-9/+53
| | | | | | | PR: bin/72394 Submitted by: Dan Nelson Reviewed by: deischen MFC after: 2 weeks
* Plug memory leak.dds2004-12-301-0/+4
| | | | | PR: bin/75656 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
* Catch up with stat.h a bit:trhodes2004-12-291-6/+5
| | | | | o Sticky bit is actually defined as S_ISTXT not S_ISVTX. o Sticky bit is wrapped in if __BSD_VISIBLE not _POSIX_SOURCE.
* 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
* Various markup and spelling fixes.trhodes2004-12-291-1/+1
| | | | | PR: 75574 Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp> (original version)
* 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
* ``NULL is a specific instance of a null pointer constant; the generic iskeramida2004-12-236-30/+12
| | | | | | | | | | | | | a "null pointer".'' Making good use of the excellent explanations sent to me by Ruslan Ermilov, Garrett Wollman and Bruce Evans, correct the descriptions of null pointers. They are just "null pointers", not nil, not NULL or ".Dv NULL". Suggested by: ru, wollman, bde Reviewed by: ru, wollman Pointy hat: keramida
* Better rendering of the prototype for signal(3).jkoshy2004-12-231-6/+14
| | | | Suggested by: ru
* Punctuation marks should be separate arguments in groff macros.keramida2004-12-221-1/+1
| | | | Noticed by: ru
* Use .Dv NULL when referring to NULL C pointers, instead of "nil".keramida2004-12-226-11/+32
|
* Cross reference init(8) too, instead of vaguely referring to thekeramida2004-12-221-4/+7
| | | | "initialization process".
* 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.
* Date business, update.trhodes2004-12-101-1/+1
|
* According to the information on:trhodes2004-12-102-4/+4
| | | | | | | | | | | http://www.opengroup.org/onlinepubs/009695399/functions/swab.html the prototype for swab() should be in <unistd.h> and not in <string.h>. Move it, and update to match SUS. Leave the prototype in string.h for now, for backwards compat. PR: 74751 Submitted by: Craig Rodrigues <rodrigc@crodrigues.org> Discussed with: das
* Oooops I forgot to commit that.cognet2004-12-081-1/+1
| | | | | | Use fp_rnd_t, not fp_rnd. Reported by: Jia-Shiun Li (jiashiun at gmail dot com)
* Make sure the first argument to the user function is 16-byte aligned.deischen2004-12-051-5/+7
| | | | Submitted by: tegge
* 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
* MNT_NODEV is deprecated.ru2004-11-292-7/+2
|
* When required to negate the absoulte result of a division/remainderpeadar2004-11-271-1/+1
| | | | | | | | | | | | | | operation (by subtracting the absolute result from 0), don't test for overflow. This avoids an arithmetic exception when dividing LONG_MIN by 1: This is the only case that causes overflow, and the resulting value is correct under 2's compliment arithmetic. PR: 72024 Approved by: dwmalone@ Obtained from: NetBSD MFC after: 4 days
* Fix computation of the 'n' argument to mbrtowc (through XMBRTOWC) to avoidtjr2004-11-211-4/+4
| | | | | | | | | | reading past 'stop' in various places when converting multibyte characters. Reading too far caused truncation to not be detected when it should have been, eventually causing regexec() to loop infinitely in with certain combinations of patterns and strings in multibyte locales. PR: 74020 MFC after: 4 weeks
* 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 a note that currently two syntax styles for label element declarationcsjp2004-11-181-3/+16
| | | | | | | | | is supported. -Document the new more preferred syntax -Add examples for the new syntax -Add a note that the old syntax will be deprecated in the future. Reviewed by: rwatson
* Remove 80386 support from libc.jhb2004-11-162-12/+0
|
* Document more fields of struct stat.yar2004-11-151-0/+32
| | | | | Note to mdoc(7) police: The document date has already been touched today.
* Use .Vt "struct stat" consistently.yar2004-11-151-1/+1
|
* Nitpicking on grammar.yar2004-11-151-1/+1
|
* Improve mdoc(7) markup of the page: add several missing macros,yar2004-11-151-10/+10
| | | | use .Va instead of .Li for struct stat fields.
* Document the S_IS*(mode) macros used to test for file types.yar2004-11-151-1/+27
| | | | Bump the document date accordingly.
* Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.bz2004-11-134-3/+5
| | | | | | | | | | | 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
OpenPOWER on IntegriCloud