6a96821b34032bd5b33a1ec9f2cd82c3f89251b0
* Copyright (c) 1982, 1988 The Regents of the University of California.
* %sccs.include.proprietary.c%
* @(#)close.c 7.3 (Berkeley) %G%
#include <stand.att/saio.h>
if (fdesc
< 0 || fdesc
>= SOPEN_MAX
||
((file
= &iob
[fdesc
])->i_flgs
&F_ALLOC
) == 0) {
if ((file
->i_flgs
&F_FILE
) == 0)