update to 4.4-lite; minor local changes
This commit is contained in:
parent
e1ded96786
commit
d6a47464e4
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1990 The Regents of the University of California.
|
* Copyright (c) 1990, 1993
|
||||||
* All rights reserved.
|
* The Regents of the University of California. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -30,13 +30,10 @@
|
||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from: @(#)filedesc.h 7.4 (Berkeley) 5/4/91
|
* from: @(#)filedesc.h 8.1 (Berkeley) 6/2/93
|
||||||
* $Id: filedesc.h,v 1.6 1994/01/04 12:26:46 cgd Exp $
|
* $Id: filedesc.h,v 1.7 1994/05/21 04:10:38 cgd Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SYS_FILEDESC_H_
|
|
||||||
#define _SYS_FILEDESC_H_
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This structure is used for the management of descriptors. It may be
|
* This structure is used for the management of descriptors. It may be
|
||||||
* shared by multiple processes.
|
* shared by multiple processes.
|
||||||
|
@ -95,13 +92,11 @@ struct filedesc0 {
|
||||||
/*
|
/*
|
||||||
* Kernel global variables and routines.
|
* Kernel global variables and routines.
|
||||||
*/
|
*/
|
||||||
|
int dupfdopen __P((struct filedesc *fdp, int indx, int dfd, int mode,
|
||||||
|
int error));
|
||||||
int fdalloc __P((struct proc *p, int want, int *result));
|
int fdalloc __P((struct proc *p, int want, int *result));
|
||||||
int fdavail __P((struct proc *p, int n));
|
int fdavail __P((struct proc *p, int n));
|
||||||
int falloc __P((struct proc *p, struct file **resultfp, int *resultfd));
|
int falloc __P((struct proc *p, struct file **resultfp, int *resultfd));
|
||||||
struct filedesc *fdcopy __P((struct proc *p));
|
struct filedesc *fdcopy __P((struct proc *p));
|
||||||
void fdfree __P((struct proc *p));
|
void fdfree __P((struct proc *p));
|
||||||
int dupfdopen __P((struct filedesc *fdp, int indx, int dfd, int mode,
|
|
||||||
int error));
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* !_SYS_FILEDESC_H_ */
|
|
||||||
|
|
Loading…
Reference in New Issue