jtc
02788519a9
termios code has been moved to new libc/termios directory.
1995-04-25 00:06:17 +00:00
jtc
5f11a56ca9
Initial checkin of termios directory. The code used to be in
...
gen/termios.c, but has been split out so that NetBSD users don't trip
over the extensions that intrude into the POSIX namespace.
1995-04-25 00:04:21 +00:00
jtc
798d2ef128
Handle new termios subdirectory.
1995-04-25 00:00:58 +00:00
jtc
6d97ed4663
Use a switch instead of three if statements in xdr_long() and xdr_u_long(),
...
gcc generates slightly better code on all of the architectures I checked.
Also changed xdr_wrapstring to return the return value of xdr_string
directly.
1995-04-24 23:33:39 +00:00
cgd
b523e3778b
cast last argument of catgets() to (char *) to quiet compiler's complaints
...
about loss of 'const'-ness.
1995-04-24 16:37:31 +00:00
cgd
99a919e044
fix typo(?): rpc__errlist usage shouldn't have had two underscores.
...
Also, cast return types to (char *) to quiet compiler's complaints about
loss of 'const'-ness.
1995-04-24 16:34:39 +00:00
pk
a3fa60161e
Preserve the equality "x == y*(x/y)+(x%y)" for negative y; from Lon Willett.
1995-04-22 09:33:49 +00:00
jtc
61207f1472
Changed auth_errmsg() and clnt_sperrno() to access error messages
...
directly instead of by linear search.
1995-04-21 21:59:52 +00:00
jtc
9f3b5edc71
Don't pass a third argument (LASTUNSIGNED) to xdrproc_t functions ---
...
they only take two arguments. Presumably this was done to prevent
problems when users passed xdr_string instead of xdr_wrapstring.
Function prototypes are a better way to fix this "problem".
1995-04-21 21:49:29 +00:00
jtc
5c433aa57e
char * -> const char *
1995-04-19 23:31:15 +00:00
ragge
460abf6176
kvm machine specific code for VAX.
1995-04-17 12:44:34 +00:00
ragge
db0c9cd300
Removed VAX specific definitions.
1995-04-17 12:28:29 +00:00
ragge
ce0bb6e8d2
Added libc VAX specific files.
1995-04-17 12:23:33 +00:00
jtc
29f53fb76f
Removed comment that explained that this code is not portable. A better
...
comment is already present near the top of the file.
1995-04-14 20:34:41 +00:00
jtc
adc4ab0186
Don't pass a third argument (LASTUNSIGNED) to xdrproc_t functions ---
...
they only take two arguments. Presumably this was done to prevent
problems when users passed xdr_string instead of xdr_wrapstring.
Function prototypes are a better way to fix this "problem".
1995-04-14 20:30:16 +00:00
jtc
3c565bbea8
Changed bzero to memset.
...
Changed bcmp to memcmp.
Added #include <string.h> to bring prototypes into scope.
1995-04-14 19:48:20 +00:00
jtc
4af41fe4b3
bcopy -> memcpy
1995-04-14 19:25:13 +00:00
jtc
df8b005f6e
First cut at adding float versions of math functions to the manpages.
1995-04-14 18:39:53 +00:00
pk
3c8e6db690
Disable "dead kernel" stuff until we have something new.
1995-04-13 19:32:40 +00:00
jtc
d4afa3b7f5
Use ${DESTDIR} when installing libc.tags
1995-04-12 00:56:12 +00:00
jtc
53bd3d0603
Added __flt_rounds, fp{get,set}{mask,round,sticky}.
1995-04-11 18:13:49 +00:00
jtc
01194e13e9
Bump minor version for __flt_rounds() and fp{get,set}{round,mask,sticky}.
...
These functions are only available for the i386, m68k, and the sparc but
we can't wait for the other architectures (because FLT_ROUNDS, which
expands to __flt_rounds(), is likely being used in someones code).
1995-04-11 14:28:16 +00:00
cgd
76a6b7c3b3
fix operator precedence error (pr 951 from Ted Lemon)
1995-04-11 02:57:52 +00:00
jtc
a0c1305064
Added __flt_rounds, fp{get,set}{mask,round,sticky}.
1995-04-10 21:09:06 +00:00
mycroft
ae34e2ea6e
Put jtc's notice back, since these are now roughly identical.
1995-04-09 23:32:53 +00:00
mycroft
ac11de32c1
Actually, bitfields are faster on the '040; optimize for it, but adjust the
...
fields so that the mask and sticky bits are the same.
1995-04-09 23:28:38 +00:00
mycroft
99a6cfe734
Rewrite these to use the accrued exception byte for sticky flags, and to
...
avoid expensive bitfield instructions.
1995-04-09 22:49:26 +00:00
mycroft
10cfe03e6d
Stylistic change to match fpsetsticky().
1995-04-09 21:55:50 +00:00
mycroft
65a1322cd9
Reverse sense of exception bits.
1995-04-09 21:55:20 +00:00
mycroft
42d9c8af6c
Oops; need to use fnstenv/fldenv for this.
1995-04-09 21:00:57 +00:00
mycroft
a94ab51d20
Fix typo.
1995-04-09 20:44:02 +00:00
mycroft
10b402aa60
Add fpset{mask,round,sticky}().
1995-04-09 20:33:13 +00:00
mycroft
ddbc579aa7
Another optimization.
1995-04-09 19:31:33 +00:00
mycroft
14e246dc4a
Optimize.
1995-04-09 19:18:49 +00:00
jtc
907e54c9e9
ENTRY(fpgetmask) -> ENTRY(fpgetsticky)
1995-04-09 19:14:28 +00:00
jtc
1b41528de0
removed commented-out #include <machine/asm.h>
1995-04-09 19:13:26 +00:00
jtc
80bba6a1e1
Added flt_rounds, fpget{round,mask,sticky}.
1995-04-07 14:57:16 +00:00
jtc
30c05ea2b8
Added __flt_rounds(), fp{get,set}{round,mask,sticky}().
1995-04-07 00:41:43 +00:00
chopps
b331e63615
should work without specialization now.
1995-04-02 20:45:26 +00:00
jtc
a5c856b8c8
KERNEL -> _KERNEL
1995-03-28 17:29:16 +00:00
jtc
ae0b9c2010
KERNEL -> _KERNEL
1995-03-28 17:18:59 +00:00
jtc
2ef4abe78f
change second arg of fgets() from size_t to int
1995-03-25 02:50:04 +00:00
jtc
d6c3ebedb4
Fix overlooked FIXME: unsigned int -> u_int32_t.
1995-03-25 01:48:53 +00:00
jtc
f86410093b
Changed name of __weak_reference() to __indr_reference(). They really
...
are indirect references, and I want to add a real __weak_reference()
macro to <machine/cdefs.h> soon.
1995-03-23 19:58:48 +00:00
jtc
7870f9f542
removed unnecessary #include <stddef.h>
1995-03-23 19:51:13 +00:00
jtc
92702b3bed
removed unnecessary #include <stddef.h>
1995-03-23 19:42:42 +00:00
jtc
4255068068
Removed const qualifier from ftell's FILE * argument. It's not ANSI,
...
and the recent change to flush output causes it to be changed.
1995-03-22 18:17:24 +00:00
jtc
39469721f8
update minor number for new quad_t versions of abs and div
1995-03-22 00:58:07 +00:00
jtc
3b29974599
Added "long long" support %ll{d,x,o,i}.
1995-03-22 00:56:55 +00:00
jtc
7681b92c66
Enable qabs(), a quad_t version of abs() and labs().
1995-03-22 00:36:52 +00:00
jtc
918d73c578
LDIV -> QDIV
1995-03-21 23:46:00 +00:00
jtc
bec46bcced
add cross references to qdiv(3)
1995-03-21 23:22:17 +00:00
jtc
bfd7fc20d9
New function qdiv. Like div and ldiv, but works with quad_t's.
1995-03-21 23:12:35 +00:00
jtc
5091f60d44
ldiv takes long arguments
1995-03-21 22:54:50 +00:00
jtc
d1a49b5d27
#include <machine/endian.h>.
1995-03-21 20:54:05 +00:00
mycroft
62648a14f0
Clone from sleep(), with the logic for returning a value removed.
1995-03-21 13:50:32 +00:00
mycroft
d53dfd3d3c
Minor changes.
1995-03-21 13:44:40 +00:00
mycroft
f75ba16b09
Update to use timer{add,sub}().
1995-03-21 13:33:34 +00:00
mycroft
79b7b78087
Clarify a comment slightly.
1995-03-20 14:47:39 +00:00
mycroft
ce36f636ab
Separate machine dependencies.
1995-03-20 14:45:27 +00:00
mycroft
3b5d18b58e
SYS_brk -> SYS_break, and other (minor) changes.
1995-03-20 14:02:03 +00:00
jtc
3924aee202
Added comment explaining why we are using a different algorithm than
...
what was adopted in tzcode95c to solve the problem of the first char
detzcode() extracts requiring sign extention (this is needed for
machines with 64 bit longs).
Our implementation is a bit more efficent, but requires a new macro,
SIGN_EXTEND_CHAR(), and a conditional to set it appropriately).
One minor enhancement for machines without ANSI compilers that have 32
bit longs would be to define SIGN_EXTEND_CHAR() to be the identity
macro.
1995-03-16 19:14:16 +00:00
pk
a63744d63c
Speed up getgrnam() and getgrpid() by using yp_match().
1995-03-16 11:48:01 +00:00
jtc
990d7c70e0
Added some #defines for NetBSD's defaults.
1995-03-14 18:49:49 +00:00
jtc
13a588d992
Bump minor number. The new time code has added a few more functions to
...
its API.
1995-03-13 05:27:51 +00:00
jtc
37c28a9b5b
.include ${.CURDIR}/time/Makefile.inc
1995-03-13 05:26:07 +00:00
mycroft
1eece09a70
Make libpcap.
1995-03-12 20:49:52 +00:00
pk
7aa7897748
Simplify.
1995-03-11 20:28:59 +00:00
jtc
be80b6891a
Removed "new" from references to newctime(3).
...
Removed -lz from SYNOPSIS.
1995-03-10 18:21:24 +00:00
jtc
c12abbe244
Added NetBSD Id.
1995-03-10 18:12:38 +00:00
jtc
0cd8c3623b
Added NetBSD Id.
...
Removed "new" from newctime(3) references.
1995-03-10 18:09:54 +00:00
jtc
3a34b570e9
Strictly speaking, these files probably don't belong in the libc sources.
...
On the other hand, it makes it easier to track the master tzcode sources
if we try to keep the distribution together as much as possible.
The zic and zdump commands will access the files the need with make's
.PATH facility.
1995-03-10 07:08:14 +00:00
jtc
016bb710d9
ctime.3 and tzset.3 manpages have been moved to libc/time.
1995-03-10 06:29:15 +00:00
jtc
20d50456cc
Removed references to ctime.3 and tzset.3 manpages and associated manpage
...
links (they have been moved to libc/time).
1995-03-10 06:15:10 +00:00
jtc
27c1463773
Added some manpages and manpage links (moved from libc/gen).
1995-03-10 06:05:38 +00:00
jtc
09bcdc8226
A slightly modified version of Chris' patch so that detzcode will sign
...
extend properly on machines with 64 bit longs.
This patch has been submitted to the tz mailing list.
1995-03-10 05:57:35 +00:00
jtc
3d319539ac
Change long to time_t as appropriate.
...
Add const qualifier to function argument descriptions as appropriate.
1995-03-10 00:09:36 +00:00
jtc
633548e60b
Get rid of NEW (as in NEWCTIME and NEWTZSET).
1995-03-10 00:05:54 +00:00
jtc
981bebbf27
Add NetBSD ID's
1995-03-09 23:50:15 +00:00
jtc
93ae1c3e13
tzset.3, renamed from newtzset.3, from TZCODE95B.
1995-03-09 23:48:00 +00:00
jtc
214492959c
ctime.3 from TZCODE95B, renamed from newctime.3.
1995-03-09 23:46:58 +00:00
jtc
ac90835477
Add NetBSD Id's.
1995-03-09 23:41:11 +00:00
jtc
65c381f59e
Fix typo.
1995-03-09 23:35:13 +00:00
jtc
57274dc48e
date and time functions have been moved
1995-03-09 23:31:07 +00:00
jtc
ea8e219f0c
Makefile for new time stuff
1995-03-09 23:26:43 +00:00
jtc
347a7d733b
Changed to use NetBSD's defaults
1995-03-09 23:25:36 +00:00
jtc
1fac1c1776
New time and date code from ADO
1995-03-09 23:21:48 +00:00
mycroft
b0446b3200
Port to NetBSD, and add NetBSD RCS tags.
1995-03-06 11:37:58 +00:00
mycroft
84c86af405
Import LBL libpcap, version 0.0 patch level 3.
1995-03-06 11:32:59 +00:00
jtc
3baa1f1967
Changed the multibyte character functions so they work with the native
...
single byte character set.
1995-03-05 07:41:15 +00:00
jtc
ae6284d5ba
Removed -o from and added /dev/null to egrep command line. It does the
...
exactly the same thing, but doesn't need 4.4's or our hacked version of
GNU grep.
1995-03-05 07:12:54 +00:00
jtc
38937f73d0
flush so that the offset will be correct on streams opened in
...
append mode (from chris torek).
1995-03-05 06:56:09 +00:00
cgd
ee38224d2e
fix up some RCS Id's i botched.
1995-03-04 01:55:49 +00:00
jtc
fd8d17a56d
First pass at documenting "float" versions of these functions.
1995-03-04 01:36:29 +00:00
chopps
09072f5bd9
include proper links to ethers.3
1995-03-02 09:09:07 +00:00
jtc
3f10e2da9c
catclose returns int
1995-03-01 08:00:12 +00:00
mycroft
4c34be6b52
Clean up deleted files.
1995-03-01 00:00:00 +00:00
jtc
7cd5ae5858
remove unneeded "#include <stddef.h>"
1995-02-28 01:46:24 +00:00
jtc
88ba3f858c
Changed <sys/signal.h> to <signal.h>
1995-02-28 01:13:50 +00:00
cgd
d48964d413
clean up Ids; no substantive changes.
1995-02-27 17:29:31 +00:00
cgd
edfa833652
from Lite
1995-02-27 17:00:21 +00:00
cgd
1e1bba23c7
make lint/SCCS Id if more standard.
1995-02-27 15:47:03 +00:00
cgd
2c84ad3a41
add unintrusive Ids
1995-02-27 13:22:58 +00:00
cgd
2493ac526d
fix typo, and the fact that i was using a large xterm
1995-02-27 13:22:55 +00:00
cgd
402f19d1dd
add unintrusive Ids
1995-02-27 13:21:44 +00:00
cgd
110ae2f203
resurrect man page, only to note deprecation; belongs elsewhere (where?)
1995-02-27 13:21:35 +00:00
cgd
a954b0787c
add unintrusive Ids
1995-02-27 13:19:23 +00:00
cgd
7ce7ea9415
fix Ids
1995-02-27 13:06:20 +00:00
cgd
1c44409a29
clean up Id
1995-02-27 13:02:12 +00:00
cgd
693e99f736
clean up Ids
1995-02-27 12:54:33 +00:00
cgd
4eab61bd40
merge with lite, keeping most local changes. clean up Ids
1995-02-27 12:31:34 +00:00
cgd
c67e54a2e2
clean up merge, fix Id's
1995-02-27 11:22:54 +00:00
cgd
aeb457b1a7
from Lite
1995-02-27 10:49:50 +00:00
cgd
5b9633ddd7
fix RCS Id. fix definition of fsid_t.
1995-02-27 10:43:23 +00:00
cgd
be21d1de72
clean up RCS Id's
1995-02-27 10:41:36 +00:00
cgd
41f1c39f00
clean up import, roll forward local fixes, clean up Ids
1995-02-27 10:18:34 +00:00
cgd
1d23521104
from 4.4-Lite
1995-02-27 09:50:34 +00:00
chopps
204556053e
indicate const'ness of args.
1995-02-27 09:45:26 +00:00
cgd
c18290a117
delete wordexp reference
1995-02-27 06:25:38 +00:00
cgd
fecf194677
oops; we do need errno.h
1995-02-27 06:21:23 +00:00
cgd
9060ff0dc7
merge with 4.4-Lite, keeping local changes. clean up Ids
1995-02-27 05:50:11 +00:00
cgd
f9f97c4fab
merge with Lite, keeping local changes. Fix up Id format, etc.
1995-02-27 04:34:47 +00:00
cgd
5a21812615
oops; since i kept the writev() trick, still need uio.h
1995-02-27 04:34:44 +00:00
cgd
d7ab506f38
merge with Lite, keeping local changes. Fix up Id format, etc.
1995-02-27 04:34:25 +00:00
cgd
b585e843ca
update from Lite, with local changes. fix Ids, etc.
1995-02-27 04:12:15 +00:00
cgd
72c46b1cdc
merge with Lite, keeping local changes. Also use new Id format.
1995-02-27 03:42:42 +00:00
cgd
4879d5dc50
don't forget to take address before deref'ing thru. from fvdl.
1995-02-27 01:03:47 +00:00
cgd
516f67f7c9
re-order things the way they'd like to be ordered
1995-02-25 17:19:26 +00:00
cgd
714c54bd02
fix prototype that i botched.
1995-02-25 17:18:31 +00:00
cgd
db638fe19d
typo
1995-02-25 17:17:33 +00:00
cgd
c2ee3d850f
mention the functions that need to be provided, instead of providing dflts.
1995-02-25 17:10:57 +00:00
cgd
4145a97c7f
oops; biffed path
1995-02-25 17:08:29 +00:00
cgd
3d5508dc07
mktemp.c belongs here, not gen/Makefile.inc
1995-02-25 17:06:28 +00:00
cgd
a87693f257
update from Lite, clean up a bit, seperate arch-specific file list.
1995-02-25 17:05:19 +00:00
cgd
572e3f3188
don't forget inifinity.c
1995-02-25 16:24:22 +00:00
cgd
ea1ca14ecb
need these for new gen/Makefile
1995-02-25 16:20:12 +00:00
cgd
63de9506bf
merge with Lite, keep local changes. clean up id usage
1995-02-25 15:39:01 +00:00
cgd
6929ad87a5
need these now, with new net Makefile.inc
1995-02-25 14:58:43 +00:00
cgd
5d6d569765
update to 4.4-Lite and/or clean up Id
1995-02-25 14:09:35 +00:00
cgd
6e6a4e85b0
update to 4.4-Lite where appropriate, clean up Id format, etc.
1995-02-25 13:40:51 +00:00
cgd
97d9d67a27
from lite, with minor name rearrangement to fit.
1995-02-25 09:11:37 +00:00
cgd
6534b326c3
use new id style.
1995-02-25 09:02:37 +00:00
cgd
2c4d3c4c4a
clean up Id's on files previously imported...
1995-02-25 08:50:56 +00:00
cgd
708504beb1
when you have a pointer and want to assign to a quad, you must cast it
...
to long to quiet the compiler.
1995-02-25 07:06:38 +00:00
cgd
9386b82936
when you have a quad and want to assign to a pointer, you must say:
...
ptr = (ptr_type)(long)quad;
to quiet the compiler.
1995-02-25 07:02:16 +00:00
cgd
83b55061cc
oops; fix the cleanup.
1995-02-25 06:58:58 +00:00
cgd
ef0582f1e7
clean up import. also convert everything to new Id format.
1995-02-25 06:20:26 +00:00
cgd
547fd46929
4.4-Lite lib/libc/net
1995-02-25 03:54:36 +00:00
cgd
32b5bdd221
use NetBSD rather than ID
1995-02-25 03:34:50 +00:00
cgd
76e7b276d3
upgrade to 4.4-Lite Makefile, keeping local changes. NOW BUILDS TAGS ON INST
1995-02-25 03:31:42 +00:00
cgd
3f45f31f15
strange corner cases:
...
(1) zero top 32 bits for 32-bit unsigned ops; 32-bit value can
be accidentally(?) sign-extended by the compiler/assembler.
(2) fix return value for mod's that cause traps
1995-02-25 03:09:32 +00:00
cgd
9e15c98955
save my sanity; stop using Id.
1995-02-25 03:01:33 +00:00
jtc
8453143f6d
Added \n to end of format strings used by all the perror-like functions.
...
Added const qualifier to array of error strings.
1995-02-20 21:20:22 +00:00
mycroft
aef3817e0d
Clean up deleted files.
1995-02-19 12:19:09 +00:00
cgd
4902ac3dcf
use the (broken) crypt.c from the 4.4BSD-Lite Foreign distribution, that
...
can encrypt passwords but _cannot_ decrypt anything. "real" (i.e. two-way,
unbroken) crypt() now lives in /usr/src/domestic.
1995-02-19 12:18:56 +00:00
jtc
ea66efc784
Enable mc68881 versions of remainder() and scalb().
1995-02-18 01:46:41 +00:00
jtc
8961dd234b
Special case 0, as was done in s_scalbn.S.
...
I'm only doing this for consistancy --- someone really needs to measure
whether this optimization is justified.
1995-02-18 01:39:51 +00:00
jtc
324e516335
68881-assisted versions of these functions.
1995-02-18 01:24:42 +00:00
jtc
e7d917e6eb
Remove extra "u" constraint that caused gcc 2.6.3 not to compile this file.
...
Note that gcc 2.4.5, the compiler we are currently using, still compiles it
correctly after this change.
1995-02-17 06:01:47 +00:00
cgd
ac66c90d8d
make copy-to-libkern work properly on the alpha. (deal with no quad support.)
1995-02-13 21:57:24 +00:00
cgd
b380b015d1
make this 64-bit-safe.
1995-02-10 18:15:05 +00:00
cgd
9fac9bc0af
initial alpha support. no profiling support.
1995-02-10 17:53:00 +00:00
cgd
5eecfd8983
stubs.
1995-02-10 17:51:56 +00:00
cgd
e4f5181d15
libc support for the alpha. more functions should be written in assembler,
...
but that's optimization. 8-)
1995-02-10 17:49:48 +00:00
cgd
da1fb002e9
make these safe for a 64-bit world.
1995-02-10 17:47:26 +00:00
cgd
b42e80ba75
list the files needed on the alpha.
1995-02-10 17:46:48 +00:00
cgd
819bb2cd8c
alphas don't need libc quad support.
1995-02-10 17:45:39 +00:00
jtc
2deb4892f4
Initial set of ANSI clean namespace mappings.
1995-02-09 04:49:01 +00:00
mycroft
e90d9fb8a6
Make the coding style more consistent.
1995-02-08 18:33:12 +00:00
mycroft
ae5740f063
size_t is unsigned.
1995-02-08 18:15:25 +00:00
cgd
6c4c74998b
fix man page specs, per bug 788 from John Smerdon.
1995-02-08 13:48:24 +00:00
mycroft
d04155c293
Optimize better.
1995-02-05 14:58:44 +00:00
mycroft
44525cd591
Clean up deleted files.
1995-02-05 06:09:30 +00:00
jtc
edead1feee
revert
1995-02-02 02:16:48 +00:00
jtc
255db7b26b
Merged with 4.4lite.
...
Changed to conform to NetBSD's new RCS Id convention.
1995-02-02 02:09:03 +00:00
jtc
389c46c57d
Merged with 4.4lite.
...
Changed to conform to NetBSD's new RCS Id convention.
1995-02-02 01:15:33 +00:00
jtc
7cd7db23c2
imported from 44lite
1995-02-02 00:57:36 +00:00
jtc
94da0b5da5
Merged with 4.4lite, with hopes that it would fix the bug where mktime()
...
would spin in an infinate loop when passed a tm struct with all fields
set to INT_MIN. It isn't a complete fix, the loop now terminates but
mktime() does not return (time_t) -1.
I sent mail to bostic about this, who replied that the changes in 4.4BSD
were to fix this exact problem. My next step is to send mail to Arthur
David Olson, the original author and maintainer of this code.
1995-02-01 18:09:39 +00:00
jtc
e5a10891db
Added -I${.CURDIR}/include to CFLAGS, for upcoming library-private
...
header files (namespace.h, etc.).
1995-02-01 09:09:01 +00:00
cgd
0e27f5febb
kill the damned tab.
1995-01-30 12:21:41 +00:00
mycroft
8d6f89d5bd
Clean up deleted files.
1995-01-30 12:19:29 +00:00
cgd
7c6ed81dae
clean up import; kill old cruft.
1995-01-30 12:19:13 +00:00
cgd
0e14985799
regex code from lite. same as we're using, but slightly cleaner.
1995-01-30 12:16:51 +00:00
jtc
6a96a52c80
Handle long doubles.
...
Like Plauger's implementation in "The Standard C Library", we use strtod(),
which will limit the range of values that can be converter properly if
long double has greater precision or range than double.
We will need a string to long double function to handle this properly, but
this change is better than the previous behavior of ignoring the existance
of long doubles.
1995-01-30 00:45:59 +00:00
jtc
f0c0009971
Added support for quad_t and u_quad_t's with the 'q' flag.
1995-01-27 15:20:25 +00:00
jtc
2893ea1742
Removed conflicting "backwards compatibility" code to make scanf
...
ANSI compliant.
1995-01-26 01:34:44 +00:00
jtc
a40e8f9215
Fixed bug with '+' or ' ' flags and precision.
...
for example, printf("% 6.4d\n", 77) output one two many padding chars.
1995-01-25 11:20:41 +00:00
cgd
dc70e3ae1b
document sysctl variable kern.maxpartitions
1995-01-25 06:09:12 +00:00
jtc
6a189fc179
Remove unused static constant "one".
1995-01-25 01:07:23 +00:00
jtc
3d9c0cdc87
Integrate last of the relavant changes from fdlibm 5.2:
...
4. Performance issue on rem_pio2
An attempt to speed up the argument reduction in the trig function is to
consider pi/4 < x < 3pi/4 a special case. This was done in the file
e_rem_pio2.c
1995-01-25 01:06:35 +00:00
cgd
26099b453e
note KERN_DOMAINNAME, the addition of tickadj to KERN_CLOCKINFO.
1995-01-24 23:55:48 +00:00
mellon
1afdb958f0
+Infinity for MIPS
1995-01-18 01:27:24 +00:00
mycroft
d11034718e
Don't map the data segment with PROT_EXEC.
1995-01-17 06:10:31 +00:00
mycroft
6d9a99f698
Use the new syscall method.
1995-01-17 06:09:43 +00:00
jtc
10a7ebda19
Bug fix from fdlibm 5.2.
1995-01-16 20:05:43 +00:00
jtc
edcbc4e64c
Changed formatting of manpage cross references to use .Xr macro.
...
Changed all libcompat manpages so that they clearly state that the
documented interface is availiable from libcompat.
(Fixes PR #703 )
1995-01-13 01:15:53 +00:00
mycroft
652076bc1c
Clean up deleted files.
1995-01-12 19:46:16 +00:00
jtc
958e765ff5
Rpcgen bugs that required us to have separate src, include, and object
...
directories have long been fixed. This allows us to bring the *.x
files up into the main librpcsvc directory where they belong.
1995-01-12 19:39:43 +00:00
jtc
a37f3d9ae8
Use and .
1995-01-12 19:18:41 +00:00
pk
762232f3d7
The sparc port no longer needs special casing.
1995-01-12 16:30:52 +00:00
pk
a64c43edd8
Add sigsetjmp() for sparc.
1995-01-11 20:23:59 +00:00
pk
7530512a37
Machine dependent sig{set,long}jmp().
1995-01-11 20:22:28 +00:00
mycroft
c304971439
Eliminate _kvm_uvatop(), in favor of using the machine-independent VM structures.
1995-01-09 08:59:25 +00:00
mycroft
fb7161aa7e
Use ${COMPILE.S}, not ${CPP} directly.
1995-01-07 23:21:41 +00:00
mycroft
3dbc1e9443
Patch from Giles Lean to make compilation flags more consistent.
1995-01-07 23:07:03 +00:00
mycroft
f1b3337a0b
Need to divide count by 2.
1995-01-07 03:44:55 +00:00
pk
c6df61219c
svc_getreq(): pay attention to registered sockets only. This allows
...
passing a `fd_set' with unrelated bits set.
1995-01-06 13:05:16 +00:00
cgd
966e78191e
pull in changes from libkern.
1995-01-06 00:45:20 +00:00
cgd
9125e2c436
don't forget to copy ntohs to libkern
1995-01-06 00:09:19 +00:00
jtc
ee4db031bc
sigmask() macro doesn't belong here, it's in the sigblock() manpage
1995-01-04 18:48:00 +00:00
mycroft
00f8cda6d6
Remove local definitions of svc_maxfd.
1995-01-04 02:58:45 +00:00
jtc
f34d1ed7d1
Password databases live in /etc, not /var/db. (PR #685 )
1995-01-03 15:57:32 +00:00
mycroft
33c7f89b0e
Remove useless invocation of the evil getdtablesize(3).
1994-12-30 04:40:13 +00:00
mycroft
31146ca7e8
Format police, and a small patch for 64-bitness.
1994-12-28 03:34:37 +00:00
mycroft
0121eacdc1
Repair a couple of things.
1994-12-28 03:22:37 +00:00
mycroft
05fe3ff1f7
Mostly sync with CSRG.
1994-12-28 03:06:05 +00:00
mycroft
e0354b7995
Build undelete(2) stub.
1994-12-28 01:42:56 +00:00
jtc
b4bd7fea24
Replaced pops with adds.
1994-12-24 01:16:44 +00:00
jtc
26eccb0a9b
Exchange offsets of "saved signal mask" and "signal mask saved" so
...
that the layout of sigjmp_bufs and jmp_bufs are the same (except
for the "signal mask saved" appended to the end).
1994-12-24 01:05:44 +00:00
jtc
38163d03a8
#include <machine/endian.h>.
1994-12-23 22:50:19 +00:00
jtc
7141eb20ba
4.4lite's C language sigsetjmp() implementation is bogus, restore
...
machine dependant versions.
1994-12-23 22:25:48 +00:00
cgd
a05aca32f7
clear up type inconsistency.
1994-12-23 14:24:20 +00:00
cgd
517b869072
note that the file name is const, and fix a couple of roff bogons.
1994-12-23 13:04:39 +00:00
cgd
3f3c777922
more than i thought...
1994-12-23 13:01:30 +00:00
cgd
26d1df904e
oops; one too many __const's
1994-12-23 12:54:14 +00:00
jtc
4b8de372d4
fix typo
1994-12-22 17:57:02 +00:00
cgd
425d26fd98
fix up for new compiler predefines
1994-12-22 15:02:58 +00:00
cgd
9903c64a33
(1) fix up for new compiler predefines
...
(2) clean up IEEE format defines, so that their names are accurate again.
1994-12-22 15:02:48 +00:00
cgd
ae9172d6cd
specify man pages the new way.
1994-12-22 09:57:51 +00:00
cgd
3a370daf86
specify man pages the new way.
1994-12-22 09:44:45 +00:00
cgd
9e3970d80f
make the char *'s that some of these routines take/return __const.
...
It quiets some warnings, and is the 'right thing' anyway.
1994-12-20 16:18:16 +00:00
cgd
00676a51e4
type-size sanity
1994-12-20 16:12:10 +00:00
cgd
688980eb06
type sanity
1994-12-20 16:00:32 +00:00
cgd
6b300e59b8
do the conditional stuff later, so it works with NOPROFILE
1994-12-20 15:51:13 +00:00
jtc
6a9043df2e
Use "const" qualifier so that tens, tinytens, and bigtens arrays are stored
...
in the text segment.
1994-12-20 00:43:48 +00:00
cgd
2eed827e82
make libc work again, on systems that don't support __warn_reference
1994-12-18 11:32:37 +00:00
cgd
510290ed54
make sure link for inet_aton is in alphabetical order in MLINKS.
1994-12-18 09:42:18 +00:00
cgd
b70de87ec8
make type-size safe.
1994-12-18 09:09:48 +00:00
cgd
02ae34d854
add #include description, from Jim Jegers
1994-12-18 04:26:06 +00:00
pk
26a352d1dd
Provide backwards compatibility with previous "doubly-underscored"
...
symbols. Avoids updating libc's major version number for this internal change.
1994-12-17 16:27:03 +00:00
pk
7c93bbccb8
Refer to _sys_siglist with just one underscore.
1994-12-17 16:18:10 +00:00
pk
c0aee44a2f
Correct number of underscores on internal function calls.
1994-12-17 16:16:00 +00:00
mycroft
d8f841190c
.s -> .S
1994-12-16 10:01:23 +00:00
jtc
600d3f84d5
Add volatile qualifier to huge and tiny, so that huge*huge and tiny*tiny
...
are performed at run-time.
1994-12-16 08:38:20 +00:00
mycroft
201fac6e3d
More underscores...
1994-12-15 17:24:44 +00:00
mycroft
c32023e792
More underscores...
1994-12-15 17:02:08 +00:00
jtc
37d79a5d9d
Fixed cross reference: sysctl(1) -> sysctl(8).
1994-12-15 08:44:35 +00:00
jtc
c2cf556f97
Fix cross references: sysctl(2) -> sysctl(3) (PR #643 ).
1994-12-15 08:43:29 +00:00
cgd
3c5606e4ea
fix for bug 638
1994-12-14 07:24:12 +00:00
glass
b55416a4b2
bug fix from sun. version # doesn't change. major lame
1994-12-13 16:19:46 +00:00
jtc
92737ece73
Rework indirect reference support as outlined by my recent message to
...
the tech-userlevel mailing list.
1994-12-12 22:42:20 +00:00
mycroft
e4db9f8bda
Clean up deleted files.
1994-12-12 22:42:14 +00:00
jtc
3c98cdcd84
Rework indirect reference support as outlined by my recent message to
...
the tech-userlevel mailing list.
1994-12-12 22:41:50 +00:00
dean
a51d5c8eef
underscore changes
1994-12-12 19:31:22 +00:00
christos
cc23e692fb
Return null for empty strings in triplets, not the empty string.
...
Fix memory corruption with double-freeing ng_copy. (From Jason Downs)
1994-12-12 19:05:31 +00:00
christos
b69aa4831d
NIS -> YP changes and other typos fixed (From Jason Thorpe)
1994-12-11 22:47:06 +00:00
christos
9cc12a55d4
- Changed all internal libc references of {v,}err{x,} and {v,}warn{x,} to
...
__{v,}err{x,} and __{v,}warn{x,}
- moved err.c to __err.c and added err.c which contains weak references for
the above functions.
- Reordered the functions in __err.c to avoid redeclarations and changed
the varargs declarations to conform with the K&R style.
1994-12-11 20:43:48 +00:00
mycroft
f6a8ef8452
Fix spelling error.
1994-12-11 17:50:52 +00:00
mycroft
9440ca7539
Clean this up a little. No functional changes.
1994-12-11 17:34:10 +00:00
jtc
912b8b6429
Use 44lite's clever sigsetjmp()/siglongjmp() implementation I just imported.
1994-12-10 11:29:03 +00:00
jtc
cb010fc468
Changed to conform to NetBSD's new RCS Id convention.
1994-12-10 11:23:43 +00:00
jtc
362fb60ac0
imported from 4.4lite
1994-12-10 11:20:54 +00:00
cgd
fee4815efc
fix pr 594, pointed out by Chuck Silvers. fix taken from 4.4-Lite, rather
...
than his patch. (functionally identical, though...)
1994-12-08 22:58:47 +00:00
jtc
debb742e2f
Changed type of struct rlimit from quad_t to rlim_t.
...
Changed RLIM_INFINITY to 64 bit quantity.
1994-12-08 06:49:43 +00:00
deraadt
3dffaf5ef4
remove duplicate infinity.c
1994-12-07 14:52:59 +00:00
phil
eb5168e5dc
RCS id format.
1994-12-07 04:47:59 +00:00
phil
6adbfc3390
Adding sigsetjmp.S for ns32k.
1994-12-07 04:47:23 +00:00
jtc
47b200fa5c
Changed <sys/signal.h> to <signal.h>.
...
Most BSD derived OS's now document these legacy functions with a <signal.h>
API. This is especially appropriate for NetBSD, since their prototypes are
in <signal.h>, not <sys/signal.h>.
1994-12-05 18:51:47 +00:00
christos
876c50bcb3
Added code to handle netgroups in user authorization.
1994-12-04 18:13:11 +00:00
christos
4f0c59b986
New netgroup implementation; replaces Rick's old one that did not
...
expand recursively or handle YP.
1994-12-04 18:12:12 +00:00
cgd
2e2a3a256a
be much more careful with types, and add prototype everything.
1994-12-04 01:12:39 +00:00
dean
820aec410e
more underscore changes.
1994-11-28 18:56:40 +00:00
mycroft
fcc40a849d
If len == 0, then the result must be 0 regardless of the other arguments.
1994-11-24 16:36:35 +00:00
jtc
1bd8c27e8b
Private versions of cat*() functions now have only one leading underscore.
1994-11-18 15:38:32 +00:00
jtc
6dca60107b
XPG3 says that catclose returns an int.
...
Changed manpages to note that cat*() functions conform to XPG3.
Changed "private" versions of functions to have only one leading
underscore.
1994-11-18 15:36:11 +00:00
jtc
8e2c0fe739
Unconditionally call tzset() in internal function localsub(), so that
...
localtime() and mktime() conform to POSIX.1.
1994-11-17 08:47:21 +00:00
jtc
a8bfd3d17a
Merged with 4.4lite
...
Changed to conform to NetBSD's new RCS Id conventions.
1994-11-17 07:17:53 +00:00
dean
705ee976cf
Prepended underscores
1994-11-14 23:48:58 +00:00
dean
6ffb5ee299
Include files for pmax
1994-11-14 23:48:22 +00:00
dean
6cd6f202d5
Include code for pmax
1994-11-14 23:48:02 +00:00
dean
a7d9360c57
Include files for pmax
1994-11-14 23:46:52 +00:00
dean
add2031dcf
Prepended underscores
1994-11-14 23:33:46 +00:00
deraadt
283e16a22b
ptrace(2) by der mouse; not checked for accuracy
1994-11-14 06:26:44 +00:00
deraadt
65609b558b
another type change
1994-11-02 09:17:27 +00:00
deraadt
41614869d6
one more u_long -> u_int32_t change
1994-11-02 07:19:51 +00:00
deraadt
12e0db7fb1
make this work (with a horrible hack for determining the cputyp)
1994-11-02 04:51:38 +00:00
glass
2999135c5d
link inet.3 for inet_aton()
1994-10-31 06:53:48 +00:00
deraadt
ce0ad41a78
man page from Jason Thorpe
1994-10-28 23:03:02 +00:00
mycroft
0aeeefdc23
Fix typo in previous.
1994-10-28 17:59:47 +00:00
mycroft
6f553ba1a3
Properly document what iruserok(3) does.
1994-10-28 17:56:40 +00:00
cgd
b7d1866d65
fix bug 535, reported by Brian Moore.
1994-10-28 17:30:22 +00:00
deraadt
17595b3407
man page from Jason Thorpe
1994-10-28 16:46:57 +00:00
mycroft
18ff56020d
Avoid extra stat()s if a link count of 1 is returned for directories but the
...
d_type field is filled in.
1994-10-26 20:25:50 +00:00
mycroft
2db41a19e7
Use trap gate to enter kernel.
1994-10-26 19:49:42 +00:00
cgd
08ef3b378e
typo
1994-10-25 03:41:32 +00:00
phil
c0356ed2a6
New file from Matthias.
1994-10-21 07:28:44 +00:00
phil
db01d4c84a
fix code for PIC.
1994-10-21 07:13:21 +00:00
cgd
04a4b7684b
make the sysv functions real syscalls.
1994-10-20 04:17:05 +00:00
mycroft
e7a6fa4989
Clean up deleted files.
1994-10-20 04:17:01 +00:00
cgd
ac8938c341
make the sysv functions real syscalls.
1994-10-20 04:16:58 +00:00
jtc
14c8a82a15
Fix zero padding when using the # format modifier.
1994-10-20 03:56:56 +00:00
cgd
bf8067b9da
maybe they should actually... WORK!
1994-10-19 03:27:52 +00:00
cgd
9230a088b3
cast
1994-10-19 03:21:41 +00:00
cgd
f546ad9c8a
casts for happiness.
1994-10-19 03:21:15 +00:00
cgd
f5e2eec480
get return type right.
1994-10-19 03:20:30 +00:00
cgd
685a1b9fa2
beware pointer casts.
1994-10-19 03:19:42 +00:00
cgd
a1388b1815
be a bit nicer with the return value
1994-10-19 03:19:01 +00:00
cgd
4d09105f58
needs string.h
1994-10-19 03:18:47 +00:00
cgd
cab251d528
beware cast & variable types.
1994-10-19 03:14:12 +00:00
cgd
09349637c8
beware cast type.
1994-10-19 03:13:42 +00:00
cgd
a71924beb6
needs stdlib.h
1994-10-19 03:13:22 +00:00
cgd
fb0e5b3009
pointer type.
1994-10-19 03:13:09 +00:00
cgd
3e853c8028
constants are normally ints, remember!
1994-10-19 03:09:47 +00:00
cgd
517cf49336
case to quiet compiler.
1994-10-19 03:09:00 +00:00
cgd
d2b0e8d86d
be a bit more careful with types.
1994-10-19 03:07:18 +00:00
cgd
ce7850d53d
cast type
1994-10-19 03:06:51 +00:00
cgd
5eca8fd521
casting types.
1994-10-19 03:06:34 +00:00
cgd
b1f5b80b6a
relative path to libkerm
1994-10-19 03:05:22 +00:00
cgd
8c814fd78b
fix type of variables, add headers, protos, where necessary.
1994-10-19 03:03:39 +00:00
cgd
73de321a73
needs string.h
1994-10-19 03:01:39 +00:00
cgd
adf7c9df14
cast for quiet.
1994-10-19 03:01:18 +00:00
cgd
b1faf8936d
need string.h
1994-10-19 02:57:11 +00:00
cgd
32e7357c0f
either change or update references to sigvec(), as appropriate
1994-10-17 23:49:08 +00:00
deraadt
2343dc8f90
u_int_{16,32}_t stuff
1994-10-15 07:56:51 +00:00
cgd
078237de11
oops; fix that.
1994-10-13 19:55:27 +00:00
cgd
2c979dcde5
check bounds properly.
1994-10-13 19:47:10 +00:00
deraadt
5b951fb823
fix typo
1994-10-12 02:35:26 +00:00
jtc
8f2c7fd229
Don't bother checking if errno is in range --- strerror() already does
...
that.
1994-10-10 04:56:01 +00:00
jtc
d5f2bfb17a
Use __sys_siglist[].
1994-10-10 04:53:01 +00:00
jtc
afdcfb9eeb
Use __sys_errlist[] & __sys_nerr.
1994-10-10 04:52:13 +00:00
mycroft
54e2c82954
Clean up deleted files.
1994-10-10 04:46:46 +00:00
jtc
c50384799a
Renamed sys_errlist[] and sys_nerr to __sys_errlist[] and __sys_nerr.
...
The traditional API of sys_errlist[] and sys_nerr is provided by weak
references if they are supported. Otherwise, we're forced to have to
have two copies of the error message string table in the library.
Fortunately, unless a program uses both sys_errlist[] and strerror(),
only one of the copies will be linked into the executable.
This is all to provide an clean namespace as required by ANSI. I've
done the same for sys_siglist[], even though it is not required, to
be consistant.
1994-10-10 04:46:39 +00:00
mycroft
e94c4d1ac4
Fix typo.
1994-10-07 11:40:53 +00:00
jtc
76cf6eaace
Call internal NLS interfaces: __catopen(), __catgets(), and __catclose().
1994-10-06 18:17:52 +00:00
jtc
d9c2e7b590
Change size of array passed to __strsignal() from 128 to NL_TEXTMAX.
1994-10-06 18:16:18 +00:00
jtc
e19f10c79b
Change size of array passed to __strerror() from 128 to NL_TEXTMAX.
1994-10-06 18:14:53 +00:00
jtc
f5e46c89f4
Call __strsignal() instead of accessing sys_siglist[] directly.
1994-10-06 18:07:45 +00:00
jtc
f81cf24ac7
It looks like most people were in favor of enabling NLS in the C library.
1994-10-06 05:47:57 +00:00
jtc
56fa6d53b4
Public versions of catopen(), catgets(), and catclose().
...
Implemented with weak references if they are supported, otherwise by
function calls that call the private versions.
1994-10-06 05:44:39 +00:00
jtc
072b0afc87
Renamed catopen(), catgets(), and catclose() to __catopen(), __catgets(),
...
and __catclose().
Made MCGetSet() and MCGetMsg() static.
1994-10-06 05:41:45 +00:00
mycroft
837f99d25c
Clean up deleted files.
1994-10-06 04:38:25 +00:00
jtc
57e2aaa1a7
Removed non-standard and undocumented MCAppPath feature
1994-10-05 17:33:50 +00:00
jtc
be0eb1df9e
fix typo
1994-10-05 17:31:50 +00:00
mycroft
5251d09ee1
Don't even *try* to print out the name of the termcap file; it's hidden
...
in libtermcap, and it normally uses the DB file anyway.
1994-10-02 04:27:28 +00:00
mycroft
5e53b2b629
Nuke bogus baud rate conversion code.
1994-10-02 04:23:08 +00:00
jtc
68523b5d88
Added code so that POSIX.2 regular expresion functions are used if REGEX
...
is defined, V8 regular expresion functions are used if REGEXP is defined,
and BSD regular expression functions are used if neither are defined.
And defined REGEX in sys.h so that programs using libedit don't have
to link with libcompat.
1994-10-02 02:10:48 +00:00
jtc
c36fd69bc3
The decimal point character is locale specific.
1994-09-30 02:39:13 +00:00
jtc
797d32eb10
New setlocale() that does everything except actually load new locales;
...
and that's coming in the next week.
1994-09-30 02:20:50 +00:00
jtc
9be3c7f228
Minor tweaks to prepare for checkin of real i18n code.
1994-09-29 04:57:04 +00:00
deraadt
d87a87c753
check for ypbind.lock file, which indicates yp is alive.
1994-09-28 01:38:06 +00:00
jtc
c446bbd004
Added s_isinff.c
1994-09-25 17:31:51 +00:00
jtc
d797a5d5e9
__infinity[] and isinf() for systems whose C libraries don't supply them;
...
and isinff(), a "float" version of isinf().
1994-09-25 17:29:47 +00:00
jtc
43e6dd4c8e
Add prototype for isinff().
1994-09-25 17:27:56 +00:00
jtc
d1f06e0b8f
LIBM_SCCS must be defined for the RCS ID to be defined.
...
This library will soon be used by DJGPP. And since memory is often tight
on DOS machines, there is little benifit to be had from including RCS IDs.
1994-09-22 16:39:08 +00:00
deraadt
432a32dc33
don't print a "not responding" message for first failure.
1994-09-20 07:20:36 +00:00
mycroft
1ac05a7acc
Fix oversight in last change.
1994-09-19 23:46:29 +00:00
mycroft
fedcc257c7
Update to 4.4-Lite version.
1994-09-19 07:50:52 +00:00
mycroft
2c009d6038
Remove the #define KERNEL, now that we don't need it. Too bad we need FREAD and
...
FWRITE at all. Sigh.
1994-09-19 07:38:27 +00:00
mycroft
e9d5734eb6
Move FLOATING_POINT definition into Makefile.inc.
1994-09-19 04:43:02 +00:00
mycroft
485773b00a
Fix null pointer dereference, per Rolf Grossman.
1994-09-19 04:32:45 +00:00
mycroft
3270e71a99
Stylistic changes.
1994-09-18 04:32:35 +00:00
mycroft
09aa8eb440
Clean up deleted files.
1994-09-18 03:32:52 +00:00
mycroft
96e437894b
Merge the m68k files. The code itself should be merged.
1994-09-18 03:32:50 +00:00
deraadt
9de7a8a1d8
If the binding file doesn't exist, we need to try RPC to ypbind
...
to wake it up. This probably fixes my problem with amd.
1994-09-18 02:56:00 +00:00
deraadt
fdf894abcd
should work for sun4 and sun4c
1994-09-18 02:32:50 +00:00
mycroft
b707f8aa13
Move the swap page buffer into struct __kvm. Cache the page size during
...
kvm_open(). Fix an existing memory leak.
1994-09-18 01:52:01 +00:00
deraadt
dbccee1a87
Don't use NBPG/PGOFSET/PGSHIFT. Use getpagesize() and calculate them.
1994-09-18 00:22:22 +00:00
mycroft
bccad89957
Swap the definition of {lrand,nrand} with {mrand,jrand} to reflect reality.
1994-09-17 01:01:53 +00:00
mycroft
97a272bc2e
vmunix --> netbsd
1994-09-17 00:17:12 +00:00
mycroft
f41d9ebe51
Use an explicit references to UIO_MAXIOV, rather than a number. ref: PR 433
1994-09-16 03:08:46 +00:00
pk
9c216a1fb2
Cache pagesize.
1994-09-15 10:49:53 +00:00
pk
07dce62879
Use getpagesize() in stead of CLBYTES.
1994-09-15 10:48:51 +00:00
deraadt
2736881bfb
Kill the YP code.
1994-09-15 02:11:17 +00:00
jtc
b4f978017e
Remove CYGNUS_LOCAL comment: I maintain this code for NetBSD, not Cygnus
1994-09-13 00:40:33 +00:00
jtc
0f67980cb1
Don't define sys_siglist, <signal.h> does that already
1994-09-12 18:43:12 +00:00
mycroft
6ba85483c3
Use bfffo rather than a slow loop.
1994-09-09 03:07:23 +00:00
jtc
410ff804f7
Add __BEGIN_DECLS, __END_DECLS around public functions so curses library
...
can be used by C++ programs (PR #401 ).
1994-09-07 21:28:05 +00:00
jtc
0d6ff3aeed
Increased the size of char buffer used by perror(); the error strings may
...
be much longer in some locales.
1994-09-03 05:20:00 +00:00
jtc
6d3bf399eb
__strerror() and __strsignal() have been broken out into their own files
...
and use message catalogs if NLS is defined.
Increased the size of char buffers used by strerror() and strsignal();
the error and signal strings may be much longer in some locales.
1994-09-03 05:07:49 +00:00
jtc
5281a6457b
Document the fact that NLS (message catalog) support is enabled by adding
...
-DNLS to CFLAGS.
1994-09-03 04:53:16 +00:00
deraadt
215b5c5487
improper handling of recvfrom error return value
1994-08-30 23:59:43 +00:00
mycroft
0e2293a33e
Update to match include files.
1994-08-30 17:39:11 +00:00
cgd
b7cc0db103
fix for pr 420, from Christos.
1994-08-30 15:16:44 +00:00
mycroft
9116e142b9
Clean up deleted files.
1994-08-29 04:47:33 +00:00
mycroft
4bdad03539
Fix broken import of Lite directory code.
1994-08-29 04:47:31 +00:00
mycroft
a295767a9e
Correct first arg in synopsis.
1994-08-29 03:27:36 +00:00
mycroft
21a91228b1
Only extract lx if we need it.
1994-08-26 13:37:40 +00:00
mycroft
67fc54c45a
Update based on the 4.4-Lite version.
1994-08-26 12:55:25 +00:00
jtc
9f19de9cde
Remove lie (in a comment) about conversion between 80 bit ot 64 bit reals,
...
since we set up the fpu to do all calculations in 64 bit mode at this time.
1994-08-26 00:20:34 +00:00
deraadt
964007b231
fix my dumb bug
1994-08-23 18:42:10 +00:00
deraadt
da072ba3a5
rpc library no longer uses _rpc_dtablesize() internally -- keeps track
...
of highest active file descriptor. limit fd usage to FD_SETSIZE, until
a better solution is found. remove non-FD_SETSIZE code.
1994-08-20 00:55:26 +00:00
cgd
bcf72fa869
frexp.? is machine-dependent, as suggested by phil.
1994-08-19 20:57:43 +00:00
jtc
4b2017adfe
Assembly language versions of some of the "float" functions.
1994-08-19 03:56:44 +00:00
jtc
1af6796a8d
The fyl2xp1 instruction has a limited range:
...
-(1 - (sqrt(2) / 2)) <= x <= sqrt(2) - 1
so we can't use it.
Also, I'm not sure fyl2xp1's extra precision will
matter once the result is converted from extended
real (80 bits) back to double real (64 bits).
1994-08-19 03:55:57 +00:00
jtc
fad867417f
Bump minor number to account for additions of "float" versions of
...
the math functions.
1994-08-19 00:44:35 +00:00
jtc
b0c9d09246
Change int -> int32_t and unsigned int -> u_int32_t to improve portabilty
...
to machines where int != 32 bits.
1994-08-18 23:04:51 +00:00
jtc
c120d36cd8
Major Bogon: change %ebp to %esp, as I don't set up a stack frame.
1994-08-18 20:42:35 +00:00
mycroft
465a1c6bc1
Kill some totally minor ugliness that crept in.
1994-08-18 00:45:07 +00:00
cgd
a6d14e368c
clean up import
1994-08-18 00:38:04 +00:00
mycroft
af5acb8048
Clean up deleted files.
1994-08-17 21:53:35 +00:00
cgd
d29088dab1
clean up import
1994-08-17 21:51:41 +00:00
cgd
0c2185c64c
new libcurses, from new nvi
1994-08-17 21:14:02 +00:00
mycroft
b2ea31e355
Update to match current pmap.
1994-08-15 15:57:36 +00:00
andrew
8eabc08051
Limit the upper bound of the value returned by _rpc_dtablesize() to not
...
break select(2) calls.
1994-08-15 07:56:50 +00:00
mycroft
6da312060e
Fix return value from endwin().
1994-08-14 14:27:37 +00:00
mycroft
6e04a46b3a
Don't return garbage if there are no argument and/or environment strings.
1994-08-13 10:15:02 +00:00
mycroft
f8ee12b11b
Use writev(2) when reporting errors.
1994-08-13 09:41:50 +00:00
pk
9a16044f94
Allow a `#' to appear on line by itself (without spitting out errors).
1994-08-13 09:03:21 +00:00
jtc
1623a70fdf
Updated to reflect the fact that these functions now detect errors
...
and that only sigemptyset() and sigfillset() have macro implementations.
1994-08-12 05:01:23 +00:00
mycroft
7fa12b9866
Clean up deleted files.
1994-08-10 20:35:54 +00:00
jtc
8346e333d0
Float versions of math functions. From Ian Taylor (ian@cygnus.com), with
...
minor changes by me.
1994-08-10 20:30:00 +00:00
jtc
b3a04d8a54
Fix definition of xdr_u_char() (PR #364 )
1994-08-09 00:50:30 +00:00
jtc
fac4c46f81
Post 1.0 cleanup:
...
* Include appropriate header files to bring prototypes into scope.
* bcopy -> memcpy
* bzero -> memset
* bcmp -> memcmp
* Tweak yp xdr routines so compiler can do a better job --- saves
at least 5 instructions per function call on the i386.
1994-08-06 23:07:47 +00:00
jtc
1d1682d63c
vmunix -> netbsd (PR #375 )
1994-08-06 06:11:03 +00:00
jtc
49493ab741
Fix typo, wdelch() only takes on arg (PR 392)
1994-08-06 05:24:40 +00:00
mycroft
af176ad58f
Revert this.
1994-08-05 22:35:20 +00:00
chopps
628cf4e2c8
fixed ld.so to properly save all regs when binding PIC functions. We no
...
longer need the special case (PIC) code to push args when calling cerror.
1994-08-04 05:02:31 +00:00
chopps
03dbf74333
inline call to sigreturn original idea from jason downs <downsj@CSOS.ORST.EDU>
...
we want this to be done for everything including non-PIC code as longjmp()
does non-standard things with regs and wouldn't like it if the user replaced
the sigreturn() stub.
1994-08-04 05:00:50 +00:00
deraadt
8b4fd14bfb
be lenient; let a few other forms of + activate YP
1994-08-02 05:15:25 +00:00
jtc
a0752b653c
Minor touch ups to match strsignal(3) man page
1994-08-02 05:02:13 +00:00
jtc
18ba4287c5
Add strsignal() function like on Solaris.
...
We might want to be able to retrieve a locale-specific signal description
(from a message catalog) and we need a function call API for that feature.
1994-08-02 05:01:20 +00:00
phil
ffdfc8a9b1
patch from Matthias Pfaller.
1994-08-01 19:37:14 +00:00
mycroft
f3a089395b
Kill historical cruft.
1994-07-31 19:57:46 +00:00
mycroft
f2098184d9
Fix for MAP_FILE changes.
1994-07-31 08:49:56 +00:00
deraadt
02fe919c29
avoid core dump
1994-07-29 18:54:17 +00:00
gwr
d416f9adc8
Add sun3 support (only "live" kernels for now).
1994-07-28 21:46:34 +00:00
jtc
699331c73f
Add RCS Id's
1994-07-27 14:39:44 +00:00
jtc
b0cd982f44
Return NULL and set errno to ENOTDIR if opening a non-directory (POSIX.1,
...
Section 5.1.2.4). Rename _seekdir to __seekdir, as former is in the
user's namespace.
1994-07-27 14:37:39 +00:00
jtc
ad1d3832de
Sync with 4.4 lite
1994-07-27 05:37:08 +00:00
jtc
409e85d379
opendir() & friends from 4.4lite.
1994-07-27 05:26:23 +00:00
jtc
e954ff817b
opendir() & friends from 4.4lite.
1994-07-27 05:26:13 +00:00
pk
63027d510b
`LDSO' is for debugging only.
1994-07-26 19:53:46 +00:00
jtc
2bdfe1ce0c
Updgraded to March 3, 1994 version of dtoa.c from netlib with our local
...
changes.
1994-07-22 05:08:04 +00:00
jtc
c7527f8b84
Converted to use link-time warning messages.
1994-07-21 17:13:35 +00:00
mycroft
3d78977935
pipe(2) is no longer implemented using socketpair(2).
1994-07-17 05:14:55 +00:00
jtc
bd275e8fe1
Added a nl_langinfo(3) man page.
1994-07-16 05:12:26 +00:00
mycroft
a0c1518680
Do something more intelligent when compiling into ${DESTDIR}. Also fix bogus
...
definition of AINC.
1994-07-06 04:08:28 +00:00
mycroft
1454a5a41f
We're supposed to include ${CPPFLAGS} when compiling .c files.
1994-07-06 04:07:53 +00:00
mycroft
5156a7b075
Do something more intelligent when compiling into ${DESTDIR}.
1994-07-06 04:06:27 +00:00
cgd
5058c29029
kill strange inclusion, just do lint and obj targets by hand
1994-07-02 22:32:15 +00:00
cgd
c9848e344c
install the right things
1994-07-01 06:14:02 +00:00
deraadt
b5aa4fdd78
set KMSRCS & friends
1994-06-30 06:46:37 +00:00
deraadt
9f49515fa0
libkern files are in arch/ now
1994-06-30 06:44:54 +00:00
cgd
138fcd8327
deal with new share/doc strategy
1994-06-30 05:33:30 +00:00
jtc
b03f43b105
install getnetgrent() manpage
1994-06-28 04:34:24 +00:00
jtc
c9f8f01b96
Moved RCS ID into static variable rcsid
1994-06-26 16:27:34 +00:00
jtc
288ce51d32
Ftok() routine, needed by most programs that use SysV IPC.
1994-06-26 16:24:55 +00:00
jtc
619eb60761
Avoid core dump when using NULL message string.
1994-06-26 16:13:06 +00:00
cgd
5b029eb9a8
update for new doc-make/install strategy
1994-06-25 05:57:47 +00:00
cgd
23aca3d339
rcs id's
1994-06-22 00:17:04 +00:00
cgd
7f79e48c1a
add Boyer-Moore string search routines, from Bostic. man page
...
needs to be fixed for mandoc, and RCSID's need to be added.
1994-06-22 00:15:22 +00:00
cgd
00c343f97a
Changes by Thorsten Lockert and myself (though my role was only minor)
...
to document msync's error returns.
1994-06-21 04:49:04 +00:00
cgd
450db3f901
clean up import, rcsid
1994-06-21 04:24:53 +00:00
jtc
bafe42ae48
Add nl_langinfo(), a SysV-X/Open function that provides access to some
...
of the locale info.
Some of the POSIX.2 utilities require this information, and I thought it
was better to use an existing interface rather than rolling my own.
1994-06-21 04:14:00 +00:00
mycroft
3a7aa4b533
Add merge.c and mergesort.3.
1994-06-16 05:27:17 +00:00
mycroft
2f86deea8e
Add RCS ids.
1994-06-16 05:26:34 +00:00
mycroft
2c1d50080b
Import from 4.4-Lite.
1994-06-16 05:21:06 +00:00
cgd
c39e8472fc
fix missing trailing newline
1994-06-14 05:25:36 +00:00
mycroft
93f0b31706
Clean up deleted files.
1994-06-14 03:56:04 +00:00
jtc
8c740dbc32
Convert getdtablesize() from syscall to function
1994-06-14 03:54:48 +00:00
cgd
2ddc7beddd
amq.x is gone now
1994-06-14 02:45:56 +00:00
mycroft
7e5ecdecea
Clean up deleted files.
1994-06-13 19:55:25 +00:00
cgd
bce0be4dca
these are library routines, not syscalls. per jtc's suggestion.
1994-06-13 18:49:51 +00:00
jtc
e12121f0ea
Change manpage's struct sigaltstack definition to match the one in
...
<sys/signal.h>. Fixes bug 283.
1994-06-13 14:34:24 +00:00
jtc
d356abc303
User's should #include <signal.h>, not <sys/signal.h> if they want to
...
use this function portably.
1994-06-13 14:26:18 +00:00
cgd
f25c65f6fb
syscall numbers have changed enough to make old version dangerous
1994-06-13 00:30:27 +00:00
cgd
3ffaded87c
include changes for new fs code
1994-06-13 00:19:12 +00:00
cgd
809de843f3
oops; forgot man page
1994-06-13 00:13:48 +00:00
mycroft
4849d78f88
Clean up deleted files.
1994-06-12 22:58:06 +00:00
cgd
3943fb37c8
kill async_daemon; it's dead now
1994-06-12 22:58:03 +00:00
cgd
747476fd42
fix up includes for new FS code
1994-06-12 22:52:01 +00:00
cgd
8c483ea902
alphabetize
1994-06-12 22:37:13 +00:00
jtc
fe4dd97bd4
Remove unneeded #include <stddef.h> because <string.h> #defines NULL too.
1994-06-11 16:49:13 +00:00
jtc
59ad910d74
Note that confstr() is POSIX.2 compliant.
1994-06-11 16:44:28 +00:00
jtc
fbb595cc94
Replace my version of confstr() with 4.4 lite's, which gets its values
...
with sysctl().
1994-06-11 16:40:46 +00:00
jtc
5e8c28642a
from 44lite
1994-06-11 15:28:19 +00:00
phil
535a398e2a
_minbrk => minbrk
1994-06-10 22:46:14 +00:00
pk
24c3ce74de
Changes in pmap structures.
1994-06-10 14:34:58 +00:00
phil
f4bddced4a
update mmap call.
1994-06-09 05:50:34 +00:00
pk
fc016a129a
Fix last bug correctly
1994-06-03 15:02:21 +00:00
phil
cfb1bf8cc5
quad -1 return value now done right
1994-06-02 20:39:22 +00:00
pk
1429552f6e
Defend against empty names.
1994-06-01 19:54:07 +00:00
pk
816feb25c5
Avoid stomping on static memory by repeatly calling gethostbyname().
1994-06-01 19:32:43 +00:00
pk
350b02a45f
Don't try to lookup an empty hostname; some nameservers return the root servers
...
for such a query.
1994-06-01 19:23:59 +00:00
deraadt
c259dd15ce
in a word, whoops
1994-05-31 08:51:15 +00:00
deraadt
e16521631c
create file with nice mode
1994-05-31 08:50:31 +00:00
chopps
34769dec9b
fix incorrect MAN3 line.
1994-05-30 21:34:40 +00:00
jtc
1a5e36018e
Added catopen(3) manual page.
1994-05-30 03:40:36 +00:00
jtc
555ef6b0b0
Added catclose(3) and catgets(3) man pages --- still working on catopen(3).
1994-05-30 00:53:56 +00:00
jtc
a762bb96d9
XPG3 says that the name argument specifies a complete path for the message
...
catalog if it contains a '/' (The original code only checked the first char).
1994-05-29 22:14:33 +00:00
jtc
6d847771c5
XPG3 wants .../%L/%N.cat and .../%N/%L in the default NLSPATH.
1994-05-29 22:10:56 +00:00
jtc
5b7e254892
Add message catalog functions.
1994-05-29 22:09:13 +00:00
jtc
6e6a8ec828
Changes needed for NetBSD integration.
1994-05-29 21:24:05 +00:00
jtc
49ce813263
Kee Hinckley's XPG3 compliant message catalog system (extracted from the
...
elm distribution).
1994-05-29 21:21:59 +00:00
hpeyerl
610896d9a0
(blush). They didn't *ALL* have to be changed.
1994-05-29 00:35:59 +00:00
hpeyerl
1da03a4d37
If we're going to re-activate these guys; we better make sure they
...
compile.
1994-05-28 23:37:53 +00:00
mycroft
63962a5c5e
We have shm again.
1994-05-28 23:16:48 +00:00
jtc
241ecab4d2
Describe POSIX behavior of sleep.
...
More could be added, especially describing the effects of scheduling and/or
blocking SIGALRM outside of a sleep(). Also, using longjmp() in a signal
handler. But this will do until someone gets inspired to fill in the
grotty details.
1994-05-28 16:11:27 +00:00
jtc
5ab3d5f30a
Changed to be POSIX.1 complian; now sleep can be interrupted, and it returns
...
the amount of time left "unslept" when it is.
1994-05-28 06:25:04 +00:00
phil
6536072af7
add missing include
1994-05-27 21:56:04 +00:00