Changeset View
Changeset View
Standalone View
Standalone View
head/lib/libc/sys/open.2
Show All 22 Lines | |||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" 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. | ||||
.\" | .\" | ||||
.\" @(#)open.2 8.2 (Berkeley) 11/16/93 | .\" @(#)open.2 8.2 (Berkeley) 11/16/93 | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd January 31, 2020 | .Dd March 30, 2020 | ||||
.Dt OPEN 2 | .Dt OPEN 2 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm open , openat | .Nm open , openat | ||||
.Nd open or create a file for reading, writing or executing | .Nd open or create a file for reading, writing or executing | ||||
.Sh LIBRARY | .Sh LIBRARY | ||||
.Lb libc | .Lb libc | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
▲ Show 20 Lines • Show All 465 Lines • ▼ Show 20 Lines | |||||
is specified, | is specified, | ||||
the file does not exist, | the file does not exist, | ||||
and the user's quota of inodes on the file system on | and the user's quota of inodes on the file system on | ||||
which the file is being created has been exhausted. | which the file is being created has been exhausted. | ||||
.It Bq Er EIO | .It Bq Er EIO | ||||
An I/O error occurred while making the directory entry or | An I/O error occurred while making the directory entry or | ||||
allocating the inode for | allocating the inode for | ||||
.Dv O_CREAT . | .Dv O_CREAT . | ||||
.It Bq Er EINTEGRITY | |||||
Corrupted data was detected while reading from the file system. | |||||
.It Bq Er ETXTBSY | .It Bq Er ETXTBSY | ||||
The file is a pure procedure (shared text) file that is being | The file is a pure procedure (shared text) file that is being | ||||
executed and the | executed and the | ||||
.Fn open | .Fn open | ||||
system call requests write access. | system call requests write access. | ||||
.It Bq Er EFAULT | .It Bq Er EFAULT | ||||
The | The | ||||
.Fa path | .Fa path | ||||
▲ Show 20 Lines • Show All 119 Lines • Show Last 20 Lines |