fhopen.2 (55040) | fhopen.2 (57686) |
---|---|
1.\" $NetBSD: fhopen.2,v 1.1 1999/06/30 01:32:15 wrstuden Exp $ | 1.\" $NetBSD: fhopen.2,v 1.1 1999/06/30 01:32:15 wrstuden Exp $ |
2.\" $FreeBSD: head/lib/libc/sys/fhopen.2 55040 1999-12-23 16:48:57Z bde $ | 2.\" $FreeBSD: head/lib/libc/sys/fhopen.2 57686 2000-03-02 09:14:21Z sheldonh $ |
3.\" 4.\" Copyright (c) 1999 National Aeronautics & Space Administration 5.\" All rights reserved. 6.\" 7.\" This software was written by William Studenmund of the 8.\" Numerical Aerospace Similation Facility, NASA Ames Research Center. 9.\" 10.\" Redistribution and use in source and binary forms, with or without --- 45 unchanged lines hidden (view full) --- 56As this method bypasses directory access restrictions, these calls are 57restricted to the superuser. 58.Pp 59.Fn fhopen 60opens the file referenced by 61.Fa fhp 62for reading and/or writing as specified by the argument 63.Fa flags | 3.\" 4.\" Copyright (c) 1999 National Aeronautics & Space Administration 5.\" All rights reserved. 6.\" 7.\" This software was written by William Studenmund of the 8.\" Numerical Aerospace Similation Facility, NASA Ames Research Center. 9.\" 10.\" Redistribution and use in source and binary forms, with or without --- 45 unchanged lines hidden (view full) --- 56As this method bypasses directory access restrictions, these calls are 57restricted to the superuser. 58.Pp 59.Fn fhopen 60opens the file referenced by 61.Fa fhp 62for reading and/or writing as specified by the argument 63.Fa flags |
64and returns the file descriptor to the calling process. The | 64and returns the file descriptor to the calling process. 65The |
65.Fa flags 66are specified by 67.Em or Ns 'ing 68together the flags used for the 69.Xr open 2 | 66.Fa flags 67are specified by 68.Em or Ns 'ing 69together the flags used for the 70.Xr open 2 |
70call. All said flags are valid except for | 71call. 72All said flags are valid except for |
71.Dv O_CREAT . 72.Pp 73.Fn fhstat 74and 75.Fn fhstatfs 76provide the functionality of the 77.Xr fstat 2 78and --- 59 unchanged lines hidden --- | 73.Dv O_CREAT . 74.Pp 75.Fn fhstat 76and 77.Fn fhstatfs 78provide the functionality of the 79.Xr fstat 2 80and --- 59 unchanged lines hidden --- |