summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Sort .Xr by section number.davidxu2005-12-138-14/+14
| | | | Submitted by: ru
* /* You're not supposed to hit this problem */phk2005-12-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some denormalized long double values, a bug in __hldtoa() (called from *printf()'s %A format) results in a base 16 digit being rounded up from 0xf to 0x10. When this digit is subsequently converted to string format, an index of 10 reaches past the end of the uppper-case hex/char array, picking up whatever the code segment happen to contain at that address. This mostly seem to be some character from the upper half of the byte range. When using the %a format instead of %A, the first character past the end of the lowercase hex/char table happens to be index 0 in the uppercase hex/char table hextable and therefore the string representation features a '0', which is supposedly correct. This leads me to belive that the proper fix _may_ be as simple as masking all but the lower four bits off after incrementing a hex-digit in libc/gdtoa/_hdtoa.c:roundup(). I worry however that the upper bit in 0x10 indicates a carry not carried. Until das@ or bde@ finds time to visit this issue, extend the hexdigit arrays with a 17th index containing '?' so that we get a invalid but consistent and printable output in both %a and %A formats whenever this bug strikes. This unmasks the bug in the %a format therefore solving the real issue may both become easier and more urgent. Possibly related to: PR 85080 With help by: bde@
* Add cross references to siginfo.3.davidxu2005-12-1310-3/+13
|
* Fix markeup.davidxu2005-12-061-1/+2
| | | | Submitted by: ru
* Fix markup.davidxu2005-12-051-5/+13
| | | | Submitted by: ru
* Document SIGEV_NONE and SIGEV_SIGNAL.davidxu2005-12-051-0/+15
|
* Fix prototype.ru2005-12-031-1/+1
|
* Fix type of argument.ru2005-12-031-1/+1
|
* Break hard sentence break.ru2005-12-031-1/+2
|
* Switch BUILD_ARCH in Makefile to use uname -p suggested by ru.ambrisko2005-12-033-6/+42
| | | | | | | | | | | | | | Switch strncpy to strlcpy suggested by gad and issue found by pjd. Add to uname(3) man page describing: UNAME_s UNAME_r UNAME_v UNAME_m Add to getosreldate(3) man page describing: OSVERSION Submitted by: ru, pjd/gad Reviewed by: ru (man pages)
* Remove implementation-defined, it has already been described in NOTESdavidxu2005-12-031-5/+0
| | | | section.
* Remove implementation-defined sentences.davidxu2005-12-033-22/+5
|
* Fix lots of markup and content bug.davidxu2005-12-037-139/+201
| | | | Submitted by: ru
* syscall -> system call.davidxu2005-12-027-25/+25
|
* Fix markup.davidxu2005-12-021-1/+4
|
* Unbreak build when I fluff the clean-up of __FBSDID diff reductionambrisko2005-12-021-0/+2
| | | | | | before commit. pointyhat++
* Add support to easily build FreeBSD unpacked in a chroot of anotherambrisko2005-12-022-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | FreeBSD machine. To do this add the man 1 uname changes to __xuname.c so we can override the settings it reports. Add OSVERSION override to getosreldate. Finally which Makefile.inc1 to use uname -m instead of sysctl -n hw.machine_arch to get the arch. type. With these change you can put a complete FreeBSD OS image into a chroot set: UNAME_s=FreeBSD UNAME_r=4.7-RELEASE UNAME_v="FreeBSD $UNAME_r #1: Fri Jul 22 20:32:52 PDT 2005 fake@fake:/usr/obj/usr/src/sys/FAKE" UNAME_m=i386 UNAME_p=i386 OSVERSION=470000 on an amd64 or i386 and it just work including building ports and using pkg_add -r etc. The caveat for this example is that these patches have to be applied to FreeBSD 4.7 and the uname(1) changes need to be merged. This also addresses issue with libtool. This is usefull for when a build machine has been trashed for an old release and we want to do a build on a new machine that FreeBSD 4.7 won't run on ...
* Tweak markup for POSIX standards. Minor wordsmithing.imp2005-12-011-3/+7
| | | | Submitted by: ru@
* Document O_NOCTTY and O_SYNC. O_NOCTTY is a nop on freebsd, while onimp2005-12-011-0/+17
| | | | | | | other systems it prevents a tty from becoming a controlling tty on the open. O_SYNC is the POSIX name for O_FSYNC. The Markup Police may need to tweak my references to standards.
* Add MLINK for execvP(3).jhb2005-12-011-1/+1
| | | | | | PR: docs/89783 Submitted by: Andreas Kohn andreas at syndrom23 dot de MFC after: 3 days
* Update conformance and history sections.davidxu2005-11-304-4/+16
|
* Symlink mq_send to mq_timedsend.davidxu2005-11-301-0/+2
| | | | Symlink mq_receive to mq_timedreceive.
* Add manuals for POSIX message queue.davidxu2005-11-308-2/+1077
|
* Implement following POSIX message queue interfaces:davidxu2005-11-262-1/+74
| | | | mq_close, mq_getattr, mq_receive, mq_send.
* Make SYNOPSIS compile.ru2005-11-241-1/+1
| | | | Attn peter@: this manpage wasn't synced with your code changes.
* Fix prototypes.ru2005-11-241-3/+3
| | | | | Attn davidxu@: most likely, the description should also be tweaked after your undocumented changes that changed these prototypes.
* Fix prototypes.ru2005-11-241-2/+2
|
* Keep up with const poisoning in uuid.h,v 1.3.ru2005-11-241-6/+6
|
* Fix prototype.ru2005-11-241-2/+2
|
* Fix prototype.ru2005-11-231-1/+3
|
* Fix prototype.ru2005-11-232-2/+2
|
* Fix prototypes.ru2005-11-233-4/+4
|
* There's no longer^Wyet <sys/capability.h>.ru2005-11-231-1/+1
|
* Fix inet6_opt_get_val() prototype.ru2005-11-231-1/+1
|
* Make SYNOPSIS compile.ru2005-11-231-3/+3
|
* Make SYNOPSIS compile after imp@'s changes.ru2005-11-232-11/+11
|
* Make SYNOPSIS compile.ru2005-11-231-1/+1
|
* Add missing includes.ru2005-11-231-1/+3
|
* Do not explicitly state how many bytes an argument list can be in thesimon2005-11-191-1/+0
| | | | | | description of E2BIG, since it's now larger on some platforms. MFC after: 3 days
* Document CLOCK_UPTIME which returns the current uptime in SI seconds.andre2005-11-181-1/+3
| | | | | | | At the moment it is just an alias for CLOCK_MONOTONIC which reports the same number. Sponsored by: TCP/IP Optimization Fundraise 2005
* Fix up markup.ru2005-11-181-7/+9
|
* Fix up markup etc. in recently born manpage.ru2005-11-185-152/+316
|
* -mdoc sweep.ru2005-11-1722-35/+52
|
* The KAME's getipnodebyaddr() code honor the MULTI_PTRS_ARE_ALIASESume2005-11-151-0/+1
| | | | | | | | | define also, but res_config.h was not included into libc/net/name6.c. So getipnodebyaddr() ignored the multiple PTRs. PR: kern/88241 Submitted by: Dan Lukes <dan__at__obluda.cz> MFC after: 3 days
* Fix a stub function so that is has the correct number ofdeischen2005-11-121-3/+3
| | | | | | arguments. While I'm here, correct a couple of [tab] alignments. Submitted by: bland
* add continued status.davidxu2005-11-121-4/+4
|
* Insert missing copyright headers.davidxu2005-11-125-0/+10
|
* Only signo should be marked with .Fa.davidxu2005-11-111-1/+2
|
* Fix plural.delphij2005-11-111-1/+1
|
* Fix plural.davidxu2005-11-111-1/+1
|
OpenPOWER on IntegriCloud