summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Add an alternate signal trampoline to libc; add a wrapper for the sigtrampjake2002-04-294-2/+96
| | | | | | | install sysarch, to be called from _start. This will allow the stack to be mapped non-executable, as required by the sparc v9 abi.
* Spell void * as void * rather than caddr_t. This is complicated by thedes2002-04-2815-117/+122
| | | | | | fact that caddr_t is often misspelled as char *. Sponsored by: DARPA, NAI Labs
* Add code to emulate arithmetic, comparison and conversion operationsjake2002-04-282-1/+136
| | | | | | | | | | | on long double, which are not implemented in hardware on any UltraSPARC chip that I know of. This just calls into the existing floating point emulator, which is still needed to emulate other floating point operations in certain conditions. Without this gcc has to generate the quad floating point instructions directly, which sometimes causes internal compiler errors. Reviewed by: tmm
* Emulate ldq and stq (load/store long double) instructions. GCC has startedjake2002-04-2712-106/+252
| | | | | | | | | using these to load long doubles, but they aren't implemented in hardware on (at least) UltraSPARC I and II machines. Emulate popc in the user trap handler as well. Re-arrange slightly to make support functions more accessible. Reviewed by: tmm
* #include <string.h> instead of <strings.h>des2002-04-251-1/+1
|
* Constify _malloc_options.phk2002-04-242-3/+3
|
* Implement several of the c99 updates to scanf(3):fenner2002-04-202-140/+220
| | | | | | | | | | | | | - New length modifiers: hh, j, ll, t, z. Still to do: - %C, %S, %lc, %ls (wide character support) - %a/%A (exact hex representation of floating-point numbers) Removed old compatability equivalents: - %D for %ld, %O for %lo, %X for %lx, %E and %F for %le & %lf (these were buggy anyway, since they should have represented %Le & %Lf). - %[unknown uppercase char] for %ld, %[unknown lowercase char] for %d
* mdoc(7) police: polishing.ru2002-04-191-11/+14
|
* just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD.suz2002-04-196-11/+22
| | | | | | | (based on freebsd4-snap-20020128) Reviewed by: ume MFC after: 1 week
* Connect the kenv.2 manpage to the build.mux2002-04-181-1/+1
|
* Add a manpage for the kenv(2) syscall that Chad David kindlymux2002-04-181-0/+172
| | | | | | wrote for me. Submitted by: davidc
* Support the snapshot file flag, so that tools like 'ls -ol' workjoe2002-04-161-0/+3
| | | | | | | as expected on snapshot files. PR: bin/37038 Submitted by: Joshua Goodall <joshua@roughtrade.net>
* Add awareness of an IPv6.ume2002-04-151-7/+20
| | | | MFC after: 1 week
* Quoting log message for OpenBSD rev 1.7:nectar2002-04-151-0/+28
| | | | | | ``Tack on MagniComp (BSD) license since this originally came from rdist.'' Obtained from: OpenBSD
* Missed a spot in previous commit.des2002-04-151-1/+3
| | | | Sponsored by: DARPA, NAI Labs
* (ab)use unused bits in the pw_fields member of struct passwd to recorddes2002-04-141-2/+12
| | | | | | the source of the data contained in the structure. Sponsored by: DARPA, NAI Labs
* Remove the hard-coded limit of 3 bytes for EUC encodings.asmodai2002-04-141-1/+3
| | | | | | | | | | Satoshi NIIMI-san kindly explained that EUC does not limit the byte length to any arbitrary number. We now set the limit to the maximum octet length of the codeset and it is locale-specific. Submitted by: Yong-Jhen Hong <winard@ms11.url.com.tw>
* Correct markup.dd2002-04-141-1/+2
|
* Install digittoint.3 (forgotten in rev 1.21)des2002-04-131-1/+1
| | | | | PR: docs/26451 Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
* Use the correct macros for F_SETFD/F_GETFD instead of magic numbers.asmodai2002-04-131-4/+12
| | | | | | | | | Reflect that fact in the manual page. PR: 12723 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au> Approved by: bde MFC after: 2 weeks
* This was recently MFC'd, so it will appear in 4.6.dd2002-04-131-1/+1
| | | | PR: 37018
* Implement _Unwind_FindTableEntry(). This function is part of GCCmarcel2002-04-132-0/+130
| | | | | for some configurations, but not for FreeBSD (yet?). Have one in libc in the mean time.
* scanf.3 has an obsolete ``this release''.trhodes2002-04-101-7/+0
| | | | | PR: 35610 MFC after: 2 days
* No longer needed to #ifdef __FBSDID, this is now handled by Makefile.inc1.ru2002-04-092-4/+0
|
* Rename some fields in struct frame to be compatible with NetBSD/OpenBSD,jake2002-04-091-1/+1
| | | | | | | | | | | and add some compatibility defines. Add fields for ins and locals to struct reg also for the same reason; these aren't filled in yet because getting at those registers sucks and I'd rather not save them in the trapframe just for this. Reorder struct reg to be ABI compatible as well. Add needed include of machine/emul.h. This gets pmdb (poor man's debugger) from OpenBSD mostly compiling but it doesn't work yet :(
* Catch up with const'ification of <sys/disklabel.h> and quelch warnings.phk2002-04-081-18/+13
|
* Fix style of ether_ntoa().ru2002-04-081-3/+3
|
* Fix EUC encoding conversion for codeset 3 and 4 to comply to the specification.asmodai2002-04-071-0/+6
| | | | | PR: 28552 Submitted by: NIIMI Satoshi <sa2c@and.or.jp>
* Polish previous revision.ru2002-04-061-1/+1
|
* Fix ether_ntoa() to generate the %02x format people expect, instead of %x,dillon2002-04-061-2/+3
| | | | | | for the ethernet address. MFC after: 1 day
* htonl() and ntohl() operate on unsinged types, so they must zero-extend,tmm2002-04-062-2/+2
| | | | | not sign-extend. Fix a comment in the former to that effect, and change the latter over to do the right conversion.
* Initial deorbit burn for the undocumented and unused d_boot[01]phk2002-04-031-5/+0
| | | | | | fields of struct disklabel. Sponsored by: DARPA and NAI Labs.
* When _kevent() returns with errno = EINTR and timeout is notume2002-04-011-4/+3
| | | | | | exceeded, it should be falldown to next_ns. MFC after: 1 week
* Do not use __progname directly (except in [gs]etprogname(3)).markm2002-03-2913-32/+49
| | | | | | Also, make an internal _getprogname() that is used only inside libc. For libc, getprogname(3) is a weak symbol in case a function of the same name is defined in userland.
* Embellish more.obrien2002-03-261-1/+1
|
* Embellish the comment.obrien2002-03-261-2/+4
|
* Fixed some style bugs in the removal of __P(()). Some function parameterbde2002-03-261-1/+1
| | | | lists were outdented to column 0.
* A break after a return is useless.dd2002-03-241-1/+0
|
* Fix braino.dd2002-03-241-1/+1
|
* Update comments. We uniformly use __FBSDID in libc now.obrien2002-03-231-5/+5
|
* W/o __P, the internal declarations will all fit on one line.obrien2002-03-231-6/+3
|
* Remove these abortive MIPS bits.obrien2002-03-2362-2856/+0
|
* Breath deep and take __P out of the system include files.imp2002-03-231-7/+7
| | | | | | # This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure.
* Standardize on our SCM ID style.obrien2002-03-2326-121/+36
|
* Restore CSRG ID's lost in January 1995.obrien2002-03-2346-175/+235
|
* Fix the style of the SCM ID's.obrien2002-03-2229-25/+35
| | | | I believe have made all of libc .h's as consistent as possible.
* Fix the style of the SCM ID's.obrien2002-03-2254-117/+138
| | | | I believe have made all of libc .c's as consistent as possible.
* Fix the style of the SCM ID's.obrien2002-03-221-1/+2
| | | | I believe have made all of libc .h's as consistent as possible.
* Fix the style of the SCM ID's.obrien2002-03-22408-795/+970
| | | | I believe have made all of libc .c's as consistent as possible.
* Back out last commit (rev 1.2). I thought I caught this file in timeobrien2002-03-221-1/+1
| | | | when deP'ing. But I guess not.
OpenPOWER on IntegriCloud