NetBSD/sys/miscfs/genfs/genfs.h
wrstuden 3bf14d81e9 Add support for fcntl(2) to generate VOP_FCNTL calls. Any fcntl
call with F_FSCTL set and F_SETFL calls generate calls to a new
fileop fo_fcntl. Add genfs_fcntl() and soo_fcntl() which return 0
for F_SETFL and EOPNOTSUPP otherwise. Have all leaf filesystems
use genfs_fcntl().

Reviewed by: thorpej
Tested by: wrstuden
1999-08-03 20:19:16 +00:00

25 lines
778 B
C

/* $NetBSD: genfs.h,v 1.10 1999/08/03 20:19:19 wrstuden Exp $ */
int genfs_badop __P((void *));
int genfs_nullop __P((void *));
int genfs_enoioctl __P((void *));
int genfs_enoextops __P((void *));
int genfs_einval __P((void *));
int genfs_eopnotsupp __P((void *));
int genfs_eopnotsupp_rele __P((void *));
int genfs_ebadf __P((void *));
int genfs_nolock __P((void *));
int genfs_noislocked __P((void *));
int genfs_nounlock __P((void *));
int genfs_poll __P((void *));
int genfs_fcntl __P((void *));
int genfs_fsync __P((void *));
int genfs_seek __P((void *));
int genfs_abortop __P((void *));
int genfs_revoke __P((void *));
int genfs_lease_check __P((void *));
int genfs_lock __P((void *));
int genfs_islocked __P((void *));
int genfs_unlock __P((void *));