thorpej
d11eb3028f
Update to match the new (old :-) vfork(2) semantics.
1998-01-04 04:20:42 +00:00
thorpej
fbb903995d
Change an exit() to _exit(), so that it's safe for vfork().
1997-12-31 05:47:15 +00:00
mikel
2165959350
make sure result of % operator is identical for quad_t, int and long;
...
fix provided by Chris Torek <torek@BSDI.COM> in a message to tech-kern.
1997-12-30 07:58:36 +00:00
mikel
290139e9fe
pointers are NULL, NUL is a char; deraadt@openbsd.org
1997-12-30 06:05:59 +00:00
pk
49c810b2c8
Avoid spurious calls to foreign constructors/destructors in case the
...
shared library we link with does not have any of its own.
Note: this only works for a.out(5).
1997-12-29 15:36:50 +00:00
lukem
99f9342863
note that $HOME is used in ~/ globs
1997-12-28 04:37:14 +00:00
hubertf
56b5c3db8d
sys/stat.h needed for S_IFBLK/S_IFCHR.
1997-12-23 22:46:27 +00:00
kleink
6e2ca95213
Update: the setuid and setgid bits will be cleared only if the caller is
...
not the super-user.
1997-12-21 17:58:27 +00:00
christos
24f2924d70
inet_addr -> inet_aton
1997-12-21 17:14:24 +00:00
christos
efbb6e62ff
use ${SOELIM} instead of soelim
1997-12-21 16:16:14 +00:00
christos
a31755413f
Make this use object directories.
1997-12-21 14:43:31 +00:00
kleink
8abd2d52ce
Bump libc minor to 23, because of lockf() addition.
1997-12-20 20:24:31 +00:00
kleink
916831ec4e
Add lockf(), an alternate interface to perform advisory record locking;
...
per XPG4.2.
1997-12-20 20:23:15 +00:00
christos
c49189ae41
Small optimization. Don't call isatty() on every invocation of el_gets, but
...
remember if the tty setup failed... Also trim the input line of trailing \r's.
1997-12-20 19:15:50 +00:00
kleink
f47d490f87
Change several functions to return -1 instead of EOF, which was semantically
...
wrong.
1997-12-19 14:08:41 +00:00
mikel
f5098db92a
sync struct statfs with <sys/mount.h>
1997-12-18 07:22:58 +00:00
mikel
007afd6dda
fix pasto (s/getpwent/getrpcent/); from Tobias Weingartner
1997-12-16 07:48:49 +00:00
mrg
c1ae52841a
use MAP_COPY|MAP_FILE.
1997-12-15 05:43:50 +00:00
mrg
701bf906ba
note that MAP_SHARED or MAP_PRIVATE must be specified.
1997-12-15 04:00:08 +00:00
thorpej
e9fb88d6e1
Document net.inet.tcp.init_win.
1997-12-11 23:30:47 +00:00
matthias
5822b3639f
add lint stubs for files that are implemented in assembler on the pc532.
1997-12-07 00:24:50 +00:00
matthias
8c90828457
Introduce ASSRCS. This is set to all the ns32k md assembler source files.
...
arch/ns32k/Makefile sets SRCS, LSRCS and DPSRCS from this.
1997-12-07 00:19:16 +00:00
matthias
1469ba0767
No longer in use.
1997-12-07 00:17:53 +00:00
mikel
583fb06375
fix typo (s/A/An/)
1997-12-06 08:47:05 +00:00
thorpej
f22bd47b81
Use __sigaltstack14(), not sigaltstack().
1997-12-05 02:09:49 +00:00
thorpej
6efbfe5247
Make setjmp() work again after the changes to sigaltstack().
1997-12-05 02:06:27 +00:00
tv
eb96023de7
Quick fix to repair runtime link problem with libc - "SYS_sigaltstack
...
undefined". The sigaltstack structure layout didn't actually change on
the sparc, so just change the syscall name. A better fix would probably
be to replace the direct system call with a function call to the libc
sigaltstack().
1997-12-04 21:00:18 +00:00
mikel
c75f102623
s/void/int/, from Ty Sarna in PR lib/4627
...
use .Xr when referring to login and getty instead of .Nm
1997-12-04 06:00:19 +00:00
lukem
40d4d52cce
* add extra arg to fparseln() - int flags - which is a bitmask.
...
current flags allow the `un-escaping' of escaped arguments (i.e,
don't prefix an escaped argument with the escape char)
* other minor cleanups
1997-12-01 02:58:40 +00:00
kleink
5d7a8f4a16
Modify the recent sigaltstack() interface change to use the __RENAME() scheme;
...
add __sigaltstack14().
1997-11-29 18:38:20 +00:00
mikel
ae21562ab9
fix typos, use -mdoc macros where useful, replace blank lines with .Pp
1997-11-27 10:24:44 +00:00
mikel
335c5b7630
s/EACCESS/EACCES/, from Brian Evans via OpenBSD
1997-11-27 07:36:24 +00:00
tv
b6573fcec0
Add xrefs to new hosts.equiv(5)/rhosts(5) man page.
1997-11-26 18:06:51 +00:00
kleink
5abc2c37ce
Update sigaltstack() to use stack_t parameters.
1997-11-26 16:51:12 +00:00
tv
b934dcf21f
Typo fix: the umount call is no longer called umount, it is now called
...
unmount.
1997-11-26 14:46:44 +00:00
kleink
f8cb8b4c14
Per XPG4.2, use useconds_t as argument and return type.
1997-11-25 18:03:45 +00:00
kleink
53d8f2fbbe
Per XPG4.2, use useconds_t as argument and return type; eliminate use of the
...
`register' keyword.
1997-11-25 18:02:36 +00:00
kleink
a57dd5b211
Per XPG4.2:
...
* Change argument to type useconds_t, return an int.
* If an interval of 1,000,000 or more microseconds was requested, fail with
-1/EINVAL.
1997-11-24 19:56:30 +00:00
lukem
253f2b2928
* return on empty lines (with len = 0, and a pointer to an empty string),
...
rather than parsing until non-blank lines. some callers may want to
know when a blank line occurs. fix confirmed with christos.
* enhance test code (which is commented out by default) to use len and
lineno parameters
1997-11-24 13:05:38 +00:00
lukem
0e3b290810
fix .Nx usage (use 1.0 instead of 0.9a, etc), and other minor cleanups
1997-11-24 06:28:50 +00:00
enami
760bb2c1ce
Un-capitalize function names at the beginning of line.
1997-11-23 04:23:48 +00:00
enami
5e60b1695a
In the SEE ALSO list,
...
- remove duplicated `environ(7)'.
- remove unexistent system call `trace(2)'.
- delete a period at the end.
1997-11-23 04:18:30 +00:00
lukem
191d34513d
better describe delim[], use ".Nx 1.3a" instead of "1.3A", other minor stuff
1997-11-23 04:07:32 +00:00
enami
3b0a9ac90d
Allocate one more element for arg vector, like execl.c rev 1.5.
1997-11-23 01:16:46 +00:00
mark
0053558a70
Fix a glaring bug in the assembly stubs for memcpy() and memmove() that
...
meant the src address was being returned rather than the dst address.
Spotted by Chris Demetriou.
1997-11-22 03:27:12 +00:00
kleink
ffd48267c2
Update for nfds_t.
1997-11-21 18:30:49 +00:00
mjacob
eb498a6ab2
argv alloca'd is too short. Alloc an extra member.
1997-11-20 01:26:45 +00:00
enami
2b952b2261
Remove an extra comma at the end of SEE ALSO list.
1997-11-18 07:00:48 +00:00
enami
dafe39d6fe
Use .Sh RETURN VALUES instead of .Pp, as malloc.3 or free.3 does.
1997-11-18 06:58:46 +00:00
enami
6940412e60
Fix typo; update `buf' by return value from realloc(3).
1997-11-18 06:44:51 +00:00
christos
fd7ea84f27
Increase minor number for fparseln
1997-11-16 22:20:14 +00:00
christos
2d0fe6e822
tyop
1997-11-16 22:19:54 +00:00
christos
d0d7e22dc8
PR/4475: Jason R. Thorpe: there is no common function to parse a continued
...
line.
1997-11-16 22:15:54 +00:00
mrg
4e252e8c4d
add missing .Nm entries. from spz@serpens.swb.de.
1997-11-14 02:04:36 +00:00
thorpej
c8160e6ecd
Un-"protect" term_beep() and rename it to __term_beep() to keep it out
...
of the user's namespace. We need to do this because the readline
emulation functions call term_beep(), but readline isn't built using
the same (funky) namespace-protection method as the rest of libedit (it's
included like a normal library object).
Without this (fairly disgusting) hack, any program linked against
libedit will fail to link with an unresolved reference to term_beep()
if using an Elf toolchain (e.g. on the Alpha).
XXX Why this doesn't happen with NetBSD's a.out toolchain is a mystery
XXX to me, and I'm not sure I really want to know (given that a.out
XXX _should_ break the same way as Elf does in this case).
1997-11-13 04:48:48 +00:00
thorpej
285ed31737
Build readline.o into debugging versions of libedit, too.
1997-11-13 04:43:07 +00:00
phil
621f2971b1
Changes to make endwin() act like a SIGSTP in terms of nicely restarting
...
curses mode. Taken from e-mail about PR 3981. (Still some stuff left
in PR3981 to deal with.)
1997-11-13 00:40:27 +00:00
thorpej
142a4c50c4
el_gets() takes an int *, not a size_t *.
1997-11-12 21:56:05 +00:00
mjacob
ddaa6c3262
Fix compile problem.
1997-11-12 05:49:24 +00:00
mrg
6be07a674c
add missing .Nm calls and MLINKS. from spz@serpens.swb.de
1997-11-12 00:47:32 +00:00
veego
c4a0e6d765
Fix a brain error from luke while he WARNSifyed libm.
...
Erik Bertelsen found the missplaced brakes.
1997-11-11 22:34:01 +00:00
lukem
94c2aad7df
move description of history() return value
1997-11-09 00:13:52 +00:00
thorpej
cb96bff387
LintAlpha* have been removed.
1997-11-08 00:40:08 +00:00
mikel
ff1bdcd3f8
back out last change
1997-11-07 05:34:07 +00:00
cgd
6a1e9744f2
sh makelintstub, rather than trying to execute it directly
1997-11-06 22:34:01 +00:00
fair
382aed35d9
correct documentation: lock contention returns EAGAIN, not EACCES, per PR#4369 and UTSL.
1997-11-06 10:44:09 +00:00
cgd
023cd79c6b
lint stubs for functions which ports use assembly versions. When using
...
an assembly version of a function, add the right lint stub to the Makefile.inc
which specifies the source to build the function (see the
arch/i386/*/Makefile.inc). Can't just lint the normal C versions of these
functions, because some of them don't _have_ normal C versions and if
that were done dependencies would get messed up.
1997-11-06 00:51:04 +00:00
cgd
59846e6495
lint stubs for functions which ports use assembly versions. When using
...
an assembly version of a function, add the right lint stub to the Makefile.inc
which specifies the source to build the function (see the
arch/i386/*/Makefile.inc). Can't just lint the normal C versions of these
functions, because some of them don't _have_ normal C versions and if
that were done dependencies would get messed up.
1997-11-06 00:50:36 +00:00
cgd
435c105d59
lint stubs for assembly routines.
1997-11-05 23:37:06 +00:00
cgd
4d7e773266
A foolish consistency... gen, net, and string all get MD sources
...
specified by including a Makefile.inc from the appropriate MD directory.
stdlib doesn't do that, but there's no reason that it shouldn't (and
it'd be nice to eliminate the 'if's from the MI stdlib Makefile.inc).
1997-11-05 22:59:37 +00:00
cgd
0f191bd9d2
remove these, they are no longer necessary or appropriate
1997-11-05 22:33:28 +00:00
cgd
446696d688
include sys/types.h rather than sys/param.h+sys/systm.h
1997-11-05 21:40:21 +00:00
cgd
7ff54a795e
lint
1997-11-05 21:37:27 +00:00
fair
2df6b5acdb
add addnstr() to curses.3 man page per PR#2305
1997-11-05 07:47:36 +00:00
thorpej
66abcf57d6
Instead of creating a .ln for each syscall stub, create one (big) .ln
...
per class of syscall stubs. This is much more efficient (though it's still
pretty inefficient).
This also fixes a problem with syscall.h and DESTDIR which was pretty
well buried in the old implementation.
From Chris Demetriou <cgd@pa.dec.com>.
1997-11-05 05:46:18 +00:00
thorpej
4942b96bf8
Don't provide a prototype for ether_hostton() if __NetBSD__.
1997-11-05 04:28:29 +00:00
thorpej
2a43f22095
__warn_references and __indr_reference semicolon fixups. From
...
Chris Demetriou <cgd@pa.dec.com>.
1997-11-04 23:52:05 +00:00
is
eae488f7bb
Fix typo, which resulted in always compiling the M68040/M68060-version
...
of ldexp.
1997-11-04 15:23:23 +00:00
cgd
226f67d0d4
specify array sizes in init_perm prototype. One of the array specifications
...
was "C_block [][]", which isn't valid (or sensible!) C (only the last
dimension may be omitted). However, all of the dimensions are known
so they might as well be specified.
1997-11-04 03:31:45 +00:00
kleink
20d81f8f56
Forgot to add basename()/dirname() manpages in last commit.
1997-11-03 17:47:44 +00:00
kleink
ae0ad1a554
Per XPG4.2, move mknod() prototype from <unistd.h> to <sys/stat.h>.
1997-11-02 17:16:48 +00:00
kleink
340f2cd85b
Bump libc minor for basename(), dirname().
1997-11-02 16:59:40 +00:00
kleink
8bfc0cef1e
Add basename() and dirname(), from XPG4.2.
1997-11-02 16:48:25 +00:00
lukem
d96a1a939d
* fix ether_line to limit size of parsed hostname to MAXHOSTNAMELEN
...
* modify ether_aton, ether_hostton, and ether_line to take 'const char *'
arguments as appropriate
* document the above in ethers(3)
1997-11-02 14:21:24 +00:00
ross
0e2ebc3559
--Fix k1seg translation, which has been broken since
...
--10/10/97 when a WARNS "fix" was put in that broke
--kernel core dump stack backtrace and other
--things that go thru libkvm.
1997-11-02 08:35:08 +00:00
mycroft
a839cc8b41
s/u_int/unsigned int/
1997-11-02 07:23:09 +00:00
kleink
db674c76eb
Add appropriate conformance notice; noticed while fixing PR standards/4351.
1997-11-01 19:10:32 +00:00
kleink
01b7b3de51
isascii() is not specified by ANSI C but X/Open; noticed by Peter Seebach
...
<seebs@puddle.plethora.net> in PR standards/4351.
1997-11-01 19:05:14 +00:00
mycroft
d03bb60a87
Minor wording changes, and update the date.
1997-11-01 07:44:29 +00:00
mycroft
a638d08183
Declare the return type.
1997-11-01 07:31:37 +00:00
mycroft
3f4f06cc2c
Refer to sigaltstack(2), not sigstack(2).
...
Do not refer to siginterrupt(3), which is part of the old sigvec interface.
Various other formatting and wording fixes.
1997-11-01 07:29:50 +00:00
mycroft
20a5439ff8
sv_mask is an int, not a sigset_t.
...
Copy some additional wording from sigaction(2).
Various other formatting and wording fixes.
1997-11-01 07:27:58 +00:00
mycroft
219751628c
Nuke trailing comma in SEE ALSO section.
1997-11-01 06:42:53 +00:00
mycroft
71c121c6af
Nuke trailing comma in SEE ALSO section.
1997-11-01 06:37:47 +00:00
mikel
486500f857
don't build shared library
1997-11-01 05:04:51 +00:00
augustss
ef9d46637b
Add even more defines.
1997-10-29 20:23:27 +00:00
augustss
a1338abe8c
Fix a serious emulation bug.
...
Add some missing #defines.
Add a little more documentation.
1997-10-29 00:31:01 +00:00
gwr
04e1e909fe
Use <m68k/kcore.h> rather than <machine/kcore.h> to ensure
...
machine independence.
1997-10-28 16:52:25 +00:00
phil
704a774583
include stdlib.h to define free().
1997-10-28 06:22:40 +00:00
phil
2c764d53fa
Make it compile with WARNS=1. (I'm not sure where the prototype really
...
should be, but it does now compile.)
1997-10-27 05:28:46 +00:00