summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* 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
* sranddev() is not magic pixie dust. While it gives a good randomimp2004-11-101-2/+4
| | | | | | | | seed, the random number generator rand(3) still sucks and is unlikely sufficient for crypto use. Correct what appears to be a cut and paste error from the srandomdev() man page. Submitted by: Ben Mesander
* Use the RET macro.cognet2004-11-0917-52/+52
| | | | | For setjmp() and longjmp(), put the signal mask where it's supposed to be, instead of in the space reserved for fp regs.
* Add a week alias __siglongjmp => siglongjmp.cognet2004-11-091-0/+1
|
* MFKernel: Implement ffs with clz on Xscale.cognet2004-11-071-0/+6
|
* When building the custom i386 libraries for use on amd64 kernels, wepeter2004-11-066-0/+170
| | | | | | | | | can't use the i386_set_ldt() family of routines, because they are not implemented. Instead, use the recently exposed direct access sysarch routines for setting what %fs and %gs point to. Use this for the i386 TLS _set_tp() routine, but only when compiling to run as a 32 bit support binary for amd64 kernels.
OpenPOWER on IntegriCloud