Commit Graph

64 Commits

Author SHA1 Message Date
mycroft c427e33070 If AUDIT, do not compile certain functions. 1998-07-27 13:36:43 +00:00
lukem 47fa59a196 warn_refs getwd 1998-06-08 09:38:07 +00:00
fair 45f41278ec fix bad .Xr references 1998-04-29 18:16:01 +00:00
fair 807b1efe4c fix mdoc reference 1998-04-28 18:52:08 +00:00
fair dc026e0515 Change occurrences of "UNIX" to .Ux or .At as appropriate. 1998-04-28 06:00:51 +00:00
perry f8247085e8 trivial changes to quiet lint. 1998-02-27 17:43:20 +00:00
perry e7d07334f4 Coerce -1 to a (uid_t) to shut up lint. 1998-02-25 22:57:22 +00:00
perry 35219be440 explicitly coerce a -1 to gid_t to quiet lint. 1998-02-25 22:53:03 +00:00
perry 312aca536f add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
perry 9f6c3e59aa merge lite-2 1998-02-02 06:26:33 +00:00
perry b51ed80fd5 RCS Id Police. 1998-01-09 04:11:49 +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
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 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
lukem 2a55b0f192 rcsid police 1997-10-09 10:07:40 +00:00
jtc 43fa6fe319 If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore.  The library will use those
names internally.  Weak aliases are used to provide the original names
to the API.

This is only the first part of this change.  It is most of the functions
which are implemented in C for all NetBSD ports.  Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.
1997-07-21 14:06:24 +00:00
christos 5f34d8e358 Fix RCSID's 1997-07-13 18:50:06 +00:00
christos 423d48a674 Fix assignment in if
Fix RCSID's
1997-07-13 18:49:43 +00:00
christos 8ccec9c996 Fix RCSID's
Add missing unistd.h include
1997-07-13 18:49:24 +00:00
mikel 4015a1393c xref sigsetmask(3) not sigsetmask(2), and RCSid police. 1997-05-12 07:41:29 +00:00
mikel 140861a19a xref sig{block,setmask}(3) not sig{block,setmask}(2), and RCSid police. 1997-05-12 07:37:35 +00:00
mrg 9cd5492c02 - convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.
1997-01-23 14:01:45 +00:00
perry 44f0373a13 change sigpause(2) to sigsuspend(2) or sigpause(3), depending
Also try to fix other bad references to sig* man pages.
Fixes pr-2885 from Jonathan Stone
These SEE ALSO sections are still bloody messes (sigh)
1997-01-17 03:44:59 +00:00
mikel 0b45206666 eliminate incorrect self-reference. 1996-12-26 02:32:22 +00:00
cgd 3b26fee368 include unistd.h and fix up sethostid() return type (was long here, now int) 1996-12-20 19:36:30 +00:00
thorpej 500e663387 Now that setreuid() and setregid() are system calls again, don't call
the C library "private" versions.  Doing so results in unresolved
symbols the next time a dynamically linked program is run after the
new C library is installed.
1996-07-08 16:42:49 +00:00
mycroft f699ec835f Remove the old (broken) setre[ug]id() emulation. 1996-06-23 11:27:59 +00:00
jtc 352df56fe2 Added getrlimit(2) and sysconf(3) cross references 1996-03-06 02:23:57 +00:00
jtc 9ae90685f2 Winning Strategies has placed this code in the public domain. 1995-05-11 23:03:44 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
cgd ae9172d6cd specify man pages the new way. 1994-12-22 09:57:51 +00:00
jtc c2cf556f97 Fix cross references: sysctl(2) -> sysctl(3) (PR #643). 1994-12-15 08:43:29 +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
cgd 32e7357c0f either change or update references to sigvec(), as appropriate 1994-10-17 23:49:08 +00:00
jtc c7527f8b84 Converted to use link-time warning messages. 1994-07-21 17:13:35 +00:00
cgd c39e8472fc fix missing trailing newline 1994-06-14 05:25:36 +00:00
jtc 8c740dbc32 Convert getdtablesize() from syscall to function 1994-06-14 03:54:48 +00:00
cgd bce0be4dca these are library routines, not syscalls. per jtc's suggestion. 1994-06-13 18:49:51 +00:00
jtc be373c50a3 Fix required #include files and function prototype. 1994-05-18 14:31:43 +00:00
cgd 081527a861 hostid functions 1994-05-07 03:24:46 +00:00
mycroft d3972d5149 Get rid of extra calls to strlen(). 1994-04-24 01:05:13 +00:00
mycroft aa5c63cbe2 Print the name of the program using a deprecated syscall. 1994-04-24 01:00:39 +00:00
cgd dcf70f0099 fix warning. 1994-04-12 23:20:35 +00:00
cgd 7891b9b4af print warnings, and use a helper function, to optimize... 1994-04-10 06:32:32 +00:00
cgd a2770ef528 M-x shuffle-functions-and-documentation
basically, move things around so documentation is in the correct place,
and bump appropriate functions into the 'compat' section.
1994-04-06 23:28:36 +00:00
cgd d8cb3599a2 don't do the (very) wrong thing in sigvec() if sv is NULL.
I found it, mycroft fixed it.
1994-02-24 06:10:57 +00:00
ws 07181c7ca6 Don't try to change user's variables.
They might be static or even readonly.
1994-01-31 17:37:05 +00:00
jtc 719a8083f0 Fix spelling errors. 1994-01-11 00:05:54 +00:00
jtc 7f6c106f52 Add explicit return type in SYNOPSIS section. 1993-12-15 18:10:20 +00:00