closefrom() as library call
This commit is contained in:
parent
d69519f86a
commit
c0bb1ba1b1
|
@ -1,6 +1,6 @@
|
||||||
.PATH: ${.CURDIR}/sys-minix
|
.PATH: ${.CURDIR}/sys-minix
|
||||||
|
|
||||||
SRCS+= accept.c access.c bind.c brk.c sbrk.c compat.S \
|
SRCS+= accept.c access.c bind.c brk.c sbrk.c m_closefrom.c compat.S \
|
||||||
chdir.c chmod.c fchmod.c chown.c fchown.c chroot.c close.c \
|
chdir.c chmod.c fchmod.c chown.c fchown.c chroot.c close.c \
|
||||||
connect.c dup.c dup2.c execve.c fcntl.c flock.c fpathconf.c fork.c \
|
connect.c dup.c dup2.c execve.c fcntl.c flock.c fpathconf.c fork.c \
|
||||||
fstatfs.c fstatvfs.c fsync.c ftruncate.c getdents.c getegid.c getgid.c \
|
fstatfs.c fstatvfs.c fsync.c ftruncate.c getdents.c getegid.c getgid.c \
|
||||||
|
|
|
@ -318,8 +318,8 @@ int lseek64(int fd, u64_t _offset, int _whence, u64_t *_newpos);
|
||||||
#if defined(_NETBSD_SOURCE)
|
#if defined(_NETBSD_SOURCE)
|
||||||
#ifndef __minix
|
#ifndef __minix
|
||||||
int acct(const char *);
|
int acct(const char *);
|
||||||
int closefrom(int);
|
|
||||||
#endif /* !__minix */
|
#endif /* !__minix */
|
||||||
|
int closefrom(int);
|
||||||
int des_cipher(const char *, char *, long, int);
|
int des_cipher(const char *, char *, long, int);
|
||||||
int des_setkey(const char *);
|
int des_setkey(const char *);
|
||||||
void endusershell(void);
|
void endusershell(void);
|
||||||
|
|
Loading…
Reference in a new issue