Commit Graph

217 Commits

Author SHA1 Message Date
peter
1d22ac4810 struct timespec needs to be useable with just <time.h>, but needs to not
conflict with the kernel visible one.  Make the new stuff not visible if
_ANSI_SOURCE or _POSIX_SOURCE is defined (!) because the new things are
not part of the base 1003.1-1990 standard (or ansi).
1997-05-13 09:33:24 +00:00
peter
93c2da6350 remove stray forward declaration for struct timespec
Pointed out by: bde
1997-05-13 09:25:15 +00:00
ache
8aa848d325 Add clockid_t definition like in sys/types.h to allow time.h
to be included without sys/types.h, it fixes broken groff compilation
1997-05-13 09:25:03 +00:00
peter
f6a5eaf126 Oops, move clock_*() and nanosleep() to time.h
Submitted by: Peter Dufault <dufault@hda.com>
1997-05-12 12:58:40 +00:00
peter
5bf8948bb6 prototype clock_settime(), clock_gettime(), clock_getres(), nanosleep(). 1997-05-12 09:57:39 +00:00
peter
04e5df0a35 Build osreldate.h at build time rather than install time. This fixes
a breakage with 'make reinstall' on a read-only source tree.
1997-05-12 09:50:19 +00:00
davidn
d6c38a2770 Removed login_cap.h, now moved to src/lib/libutil. 1997-05-10 12:50:03 +00:00
eivind
68be876952 Back out all of yesterdays include file changes. 1997-05-07 20:01:10 +00:00
eivind
fe5c8cc71f Back out part of yesterdays changes. They were obviously not tested well
enough :-(  (With backout on this file, libc compiles.  'make world' isn't
finished yet.)

Pointed out by: Oliver Roberts
1997-05-07 19:10:49 +00:00
eivind
1da58ff8ab Make a lot of include-files self-contained. I excluded the patches changing
int's to gid_t and uid_t - should I commit these, too?

Closes PR misc/2625.

Submitted by:	Julian Assange <proff@iq.org>
1997-05-07 02:27:18 +00:00
bde
9480252226 Fixed missing __P() to complete the K&R support in this header. 1997-05-07 00:58:23 +00:00
asami
4a99c13863 Don't try to install f2c'h now that it's installed from
/usr/src/usr.bin/f2c. :)
1997-04-25 09:58:24 +00:00
jmz
3bb815e95e This file is a duplicate of src/usr.bin/f2c/f2c.h
Reviewed by:	bde
1997-04-24 17:03:41 +00:00
dfr
7255f3ac31 Add protocol definitions for NFSv3. Use -DWANT_NFS3 with rpcgen to get
the new protocol.

Obtained from: rfc1813
1997-04-18 12:31:27 +00:00
bde
c6bd28908e Fixed spelling of isnetworktty.
Fixed stray whitespace.
1997-04-14 13:33:20 +00:00
bde
424af3040a Fixed some style bugs. 1997-04-13 15:52:26 +00:00
bde
7533d16134 Removed nonstandard #include of <sys/types.h>.
Use _BSD_OFF_T_ instead of off_t so that we're still self-sufficent.

Copied the ftruncate/lseek()/mmap()/truncate() redeclaration hacks
from <sys/types.h> so that things depending on them don't break.
1997-04-13 15:50:07 +00:00
bde
a88742ac00 #ifdef'ed the declaration of lseek() so that -Wredundant-decls doesn't
cause noise.

Duplicated the lseek() redeclaration hack for all functions involving
off_t's (ftruncate(), mmap() and truncate()) to help broken programs
work.
1997-04-13 15:38:10 +00:00
davidn
ca879b247e Add bitflags TTY_NETWORK/TTY_DIALUP and interface functions which
make use of them.
1997-04-13 15:09:46 +00:00
paul
3aafa26aa4 This file is deprecated not "obsoleted". 1997-04-13 11:33:17 +00:00
jmz
7a7394169a Upgrade to the 1997/02/19 version. 1997-04-13 01:13:52 +00:00
peter
6ea1633f1a Declare issetugid()
Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>, PR#3200
1997-04-05 13:03:15 +00:00
peter
aaa9c184d3 Declare lchown().. 1997-03-31 12:52:52 +00:00
ache
124ff081c1 Add srandomdev() prototype 1997-03-23 22:44:27 +00:00
peter
d461670e14 Put text after #endif in a comment (it's illegal otherwise) 1997-03-14 17:53:35 +00:00
peter
c5ebecdfa9 Merge Lite2 changes -
move getopt etc declarations from stdlib.h to unistd.h
1997-03-11 11:18:25 +00:00
peter
05dfcb29c8 Merge Lite2 changes
(Just version number)
1997-03-11 11:16:27 +00:00
peter
8415e98f65 Merge Lite2 changes onto mainline:
- declare opendir2(), which is used to control how readdir() handles
 whiteouts etc.
1997-03-11 11:15:46 +00:00
peter
a7651ae03f This commit was generated by cvs2svn to compensate for changes in r23650,
which included commits to RCS files with non-trunk default branches.
1997-03-11 11:11:37 +00:00
peter
1c9bc538cc Import CSRG 4.4BSD-Lite2 includes onto vendor branch 1997-03-11 11:11:37 +00:00
bde
7caf0a8569 Don't use a dot in the chown command. In fact, don't use a chown command.
Use mtree instead of mkdir+chown+chmod to build the subdirectory hierachy.
The corresponding mtree command in src/etc/Makefile can't be relied on
because the hierachy gets blown away in the default SHARED=symlinks case.
1997-03-09 07:12:37 +00:00
alex
a20a95f89a Comment out _POSIX_THREAD_PRIORITY_SCHEDULING since it's not supported
at this time.

Reviewed by:	John Birrell <jb@cimlogic.com.au>
1997-03-04 01:30:50 +00:00
bde
76be8bdadf Install headers for isofs/cd9660 and msdosfs. The mount utilities need
them now that <sys/mount.h> no longer declares filesytem-specific mount
args structs.

Renamed some macros to be less ufs-centric.

Fixed order of mkdirs.  The order has been broken since the backwards
`.for' loop bug was fixed in `make' on 1996/09/21.
1997-03-02 14:06:24 +00:00
ache
978f7b3034 increase L_cuserid because UT_NAMESIZE increased 1997-03-02 13:41:23 +00:00
peter
0e0dfca0f9 Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
davidn
32c4d87971 Allow commonly-used "insecure" as a valid keyword in /etc/ttys.
This prevents keywords after "insecure" occurs being errnoeously
parsed as comments.
1997-02-15 05:45:00 +00:00
julian
d1044a244f Submitted by: John Birrell
uthreads update from the author.
1997-02-05 23:26:09 +00:00
mpp
8656d26584 Change to comment for fs_passno to reflect that it applies
to fsck and not dump.
1997-01-28 06:11:45 +00:00
ache
34dcef988f Change XOPEN constants to match FreeBSD reality and add some
comments to describe them
1997-01-16 08:27:18 +00:00
ache
66b5b74d7b Activate _POSIX_* stuff if !_ANSI_SOURCE
Add _XOPEN constants set, needed mainly to sense position arguments
in printf (vi cares at this moment)
Obtained from: NetBSD
1997-01-16 07:57:56 +00:00
jkh
9c0cd3f9df Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
davidn
b48a2f8556 Internationalise "authorize". 1997-01-09 04:16:18 +00:00
davidn
220feab87c Typo fix. 1997-01-07 13:04:38 +00:00
davidn
bd5fb406ac Move typedef for rlim_t into sys/types.h (as per NetBSD). 1997-01-05 18:32:00 +00:00
sos
11df20f961 Add the forgotten login_cap.h 1997-01-04 20:40:34 +00:00
davidn
2c24678255 Header for login class capabilities handling. 1997-01-04 16:43:58 +00:00
ache
a063e1cb61 Oops, remove FNM_NOCASE alias: really I can't remember any system
with this define, it was ftpd-inspired.
1997-01-02 19:05:16 +00:00
ache
ecf9ac6726 Add FNM_NOCASE and FNM_IGNORECASE as synonyms to FNM_CASEFOLD
for better compatibility with other systems
1997-01-02 18:27:22 +00:00
davidn
1b2d31aac3 Added group= facility to /etc/ttys for tty grouping for more
more manageable and convenient referencing by login.conf (login
class database) and (e.g.) login.access.

This is the first of a group of commits which implements the login
class capabilities database.
1997-01-02 08:05:43 +00:00
peter
adf3e68c3f Missed prototype for svc_getreqset2() 1996-12-31 09:08:44 +00:00