de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# This file and its contents are supplied under the terms of the
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# Common Development and Distribution License ("CDDL"), version 1.0.
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# You may only use this file in accordance with the terms of version
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# 1.0 of the CDDL.
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# A full copy of the text of the CDDL should have accompanied this
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# source. A copy of the CDDL is also available via the Internet at
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# http://www.illumos.org/license/CDDL.
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# Copyright 2015 Garrett D'Amore <garrett@damore.org>
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# Definitions found in fcntl.h
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# Types.
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amoretype | mode_t | fcntl.h | ALL
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amoretype | off_t | fcntl.h | ALL
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amoretype | pid_t | fcntl.h | ALL
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amoretype | struct flock | fcntl.h | ALL
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# Values.
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | O_ACCMODE | int | fcntl.h | POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | O_APPEND | int | fcntl.h | POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | O_CLOEXEC | int | fcntl.h | POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | O_CREAT | int | fcntl.h | POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | O_DSYNC | int | fcntl.h | XPG3+ POSIX-1993+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | O_EXCL | int | fcntl.h | POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | O_NDELAY | int | fcntl.h | -POSIX-1993+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | O_NOCTTY | int | fcntl.h | POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | O_NONBLOCK | int | fcntl.h | POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | O_RDONLY | int | fcntl.h | POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | O_RDWR | int | fcntl.h | POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | O_RSYNC | int | fcntl.h | XPG3+ POSIX-1993+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | O_SYNC | int | fcntl.h | XPG3+ POSIX-1993+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | O_WRONLY | int | fcntl.h | POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# Functions
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorefunc | creat |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore int |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore const char *; mode_t |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore fcntl.h | ALL
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorefunc | open |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore int |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore const char *; mode_t |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore fcntl.h | ALL
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorefunc | fcntl |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore int |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore int; int |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore fcntl.h | ALL