phil
8bcbf9b3bb
Make it correctly return unslept seconds if interrupted for any other
...
reason than SIGALRM. (Was ALWAYS returning 0.)
1996-08-02 17:52:50 +00:00
explorer
24ff249a08
document AUTONICETIME and AUTONICEVAL sysctls
1996-07-17 18:06:36 +00:00
jtc
a0d2fe2548
Thanks to the calling conventions used by some cpus, the argument lists
...
passed to the execl(), execle(), and execlp() functions are in the form
of the argument vector to be passed to execve(). On these architectures,
it is unnecessary to count the number of arguments, allocate space on
the stack, copy the arguments, etc. The vector already on the stack
can be used instead.
When some arguments are passed in registers (like most RISC CPU's), it
should be possible to allocate stack space adjacent such that the
registers can be copied to that memory. After that, the same
approach described above can be used.
This change takes advantage of this on the i386, m68k, and ns32k. It
is probably true on the vax, but I am unable to check. RISC CPU's
probably need assembly language implementations to ensure everything
is placed exactly as needed when registers are copied to the stack...
1996-07-04 07:18:56 +00:00
jtc
614420255a
Split all exec*() functions out of exec.c into their own files.
1996-07-03 21:41:46 +00:00
jtc
a174b58e2c
Added a new VA_START macro to hide the differences between varargs.h
...
and stdargs.h. This cleans up a lot of conditionals throughout this
file.
1996-07-03 19:53:46 +00:00
jtc
b021f209c3
Changed to conform to POSIX.2 B.3.2.2 "popen() shall ensure that any streams
...
from previous popen() calls that remain open in the parent process are closed
in the new child process." Fixes PR #2575 .
1996-06-29 00:51:49 +00:00
jtc
9647f42d70
Signal mask was not restored correctly.
...
Fix from James Chacon <jmc@pobox.com> in PR #2442 .
1996-05-20 06:13:07 +00:00
cgd
85b3fc5c34
update for ecoff header changes. Most changes taken from PR 2413,
...
submitted by Jason Thorpe.
1996-05-16 20:49:20 +00:00
christos
b2459dacce
Use the POSIX signal mask interface
1996-05-16 19:39:13 +00:00
mycroft
c2102b50ad
Slight simplification.
1996-05-11 11:04:51 +00:00
christos
e904bb0ffc
Close PR 2376
1996-05-06 13:45:44 +00:00
christos
b078384e49
- grab prototypes from netgroup.h
...
- added _ng_print, netgroup pretty printing function
1996-04-27 18:59:05 +00:00
scottr
7fde8d9997
comprised -> composed. Closes PR 2345.
1996-04-23 05:18:06 +00:00
cgd
4e82cb0a0a
fix a couple of typesetting and grammatical errors in GLOB_BRACE's description
1996-04-19 00:12:16 +00:00
cgd
67d51cc7b5
#define _verr* to verr*, to make these use prototypes correctly
...
and compile in the "no indr_references" case.
1996-04-17 23:05:44 +00:00
jtc
ec081115f9
Split each function in err.c out into its own file. This is needed
...
for systems without weak or indirect references.
1996-04-15 23:44:53 +00:00
thorpej
6779689463
Document that "<sys/sysctl.h>" isn't enough ... suggest including
...
<sys/param.h>, too. Suggested my Kevin M. Lahey <kml@nas.nasa.gov>
in PR #1999 .
1996-04-13 02:07:15 +00:00
jtc
20779dadd6
Add proper punctuation; Reported by Mike Long <mike.long@analog.com> in PR #2302 .
1996-04-08 20:56:38 +00:00
jtc
af07dd15d4
Add explict function return types
1996-04-03 19:48:56 +00:00
jtc
45da58c78f
Changed signal prototype to be more like ANSI C
1996-03-26 02:05:55 +00:00
christos
0ded611f77
Add missing documentation for TTY_MDMBUF.
1996-03-17 19:36:53 +00:00
neil
c276195bf7
Fixed SEE ALSO section. Closes PR # 2049
1996-02-11 16:15:40 +00:00
phil
7b194ded98
Rewrite the description of alarm(3) to match reality.
1996-02-01 20:11:48 +00:00
mycroft
99374f84f7
Add missing argument to warnx().
1996-01-22 16:34:08 +00:00
thorpej
535abd80a2
Add a net.inet.ip.directed-broadcast sysctl as suggested by
...
Darren Reed <darrenr@vitruvius.arbld.unimelb.edu.au> in PR #1227 .
This change is slightly different than the one submitted by Darren in
that the DIRECTED_BROADCAST compile-time option will behave like it used
to so that existing configurations utilizing it won't have to change.
1996-01-16 04:17:30 +00:00
thorpej
4b359df8c4
Add net.inet.ip.forwsrcrt: if zero, the system will not forward
...
source-routed packets. Note this value is protected by kernel security
level; it can only be changed if securelevel < 1.
1996-01-15 21:11:46 +00:00
thorpej
6dda330ef6
New-style RCS ids.
1995-12-28 08:51:55 +00:00
jtc
bdb00bc144
Changed to use alloca() instead of malloc() to allocate argument vectors.
...
Programs that don't use malloc()/free() (ie. provide their own allocation
scheme atop sbrk()) should still be able to use exec*.
1995-12-14 16:51:27 +00:00
pk
5e25a3816d
Eliminate race by stopping timer before restarting it with remaining time
...
(one more system call).
1995-10-26 22:07:00 +00:00
pk
0a3f02bda0
Eliminate race in the "normal" case of not being interrupted by another signal.
1995-10-20 17:32:06 +00:00
pk
d2c2babb9f
1) Turn off timer before resetting signal disposition.
...
2) Set signal mask before signal action, to avoid held SIGALRMs
bursting in after unsetting the handler.
1995-10-16 18:58:47 +00:00
jtc
0e3da40dbe
Manpage fixes from Jochen Pohl. Aligns the prototypes in the SYNOPSIS
...
section with the actual function declarations. Also fixes decription
of _SC_CLK_TCK in sysconf(3). See PR #1587 and PR #1589 for details.
1995-10-12 15:39:23 +00:00
thorpej
07db43dc14
Document new RFC1323 sysctl variable.
1995-09-30 07:03:54 +00:00
cgd
c178576bae
add hack-ish support for ecoff nlists (used only on the Alpha).
...
It's hack-ish, but it appears to work well enough for all/most
programs that use libkvm, e.g. ps, w, netstat, dmesg, etc.
1995-09-29 04:19:59 +00:00
mycroft
23de03812d
Clean up a little, and fix a fencepost error.
1995-08-31 16:28:01 +00:00
jtc
aa8fc243af
Don't overflow fixed sized buffers. Parts of this patch come from
...
Perry Metzger, Charles Hannum and Paul Kranenburg.
1995-08-30 21:20:36 +00:00
mycroft
ce6374e6be
Do not terminate the search on errors other than ENOENT.
1995-08-24 05:26:35 +00:00
jtc
cb188d3b35
fix typo
1995-08-12 05:02:46 +00:00
jtc
a6751cc939
Updated for LOG_FTP (PR #1312 ).
...
Edited the examples section so that they are all separated by a single
blank line, since they're unrelated. SunOS' syslog(3) has a sentance
or two describing each line. We'll either have to come up with our
own text or ignore it. I'm ignoring it for now.
1995-08-11 00:34:34 +00:00
thorpej
0f77910137
Add and document a `kern.rawpartition' sysctl.
1995-08-04 18:36:08 +00:00
jtc
29308d7d0d
stdio.h -> unistd.h
1995-07-30 06:05:35 +00:00
phil
e69d413643
Improvements to YP support from Jason Downs.
1995-07-28 05:43:01 +00:00
jtc
3b6cda53f9
add setlocale(3) and strsignal(3) cross references
1995-07-03 22:48:08 +00:00
cgd
3d113b326b
don't assume f_fstypename is larger than MFSNAMELEN or is nul-terminated
1995-06-18 10:58:06 +00:00
jtc
9c87841ac4
Change return type of {get,set}{domain,host}name() from long to int.
1995-06-16 07:36:03 +00:00
jtc
edbbf562ba
<sys/termios.h> -> <termios.h>
1995-06-16 07:20:35 +00:00
jtc
bd3ac90048
getsubopt() uses strcmp(), so include <string.h>
1995-06-16 07:15:18 +00:00
jtc
ed7060c4a6
Use standard conditional for rcsid definition.
1995-06-16 07:12:41 +00:00
jtc
915b76dd9f
Don't cast void functions to void.
1995-06-16 07:05:27 +00:00
jtc
a646349d2b
Open with O_NONBLOCK, in case someone tries to open a blocking device
...
or a non-open fifo instead of a directory.
1995-06-12 19:38:02 +00:00