18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 28c2ecf20Sopenharmony_ci#ifndef _PARISC_FCNTL_H 38c2ecf20Sopenharmony_ci#define _PARISC_FCNTL_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#define O_APPEND 000000010 68c2ecf20Sopenharmony_ci#define O_CREAT 000000400 /* not fcntl */ 78c2ecf20Sopenharmony_ci#define O_EXCL 000002000 /* not fcntl */ 88c2ecf20Sopenharmony_ci#define O_LARGEFILE 000004000 98c2ecf20Sopenharmony_ci#define __O_SYNC 000100000 108c2ecf20Sopenharmony_ci#define O_SYNC (__O_SYNC|O_DSYNC) 118c2ecf20Sopenharmony_ci#define O_NONBLOCK 000200000 128c2ecf20Sopenharmony_ci#define O_NOCTTY 000400000 /* not fcntl */ 138c2ecf20Sopenharmony_ci#define O_DSYNC 001000000 148c2ecf20Sopenharmony_ci#define O_NOATIME 004000000 158c2ecf20Sopenharmony_ci#define O_CLOEXEC 010000000 /* set close_on_exec */ 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci#define O_DIRECTORY 000010000 /* must be a directory */ 188c2ecf20Sopenharmony_ci#define O_NOFOLLOW 000000200 /* don't follow links */ 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci#define O_PATH 020000000 218c2ecf20Sopenharmony_ci#define __O_TMPFILE 040000000 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci#define F_GETLK64 8 248c2ecf20Sopenharmony_ci#define F_SETLK64 9 258c2ecf20Sopenharmony_ci#define F_SETLKW64 10 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci#define F_GETOWN 11 /* for sockets. */ 288c2ecf20Sopenharmony_ci#define F_SETOWN 12 /* for sockets. */ 298c2ecf20Sopenharmony_ci#define F_SETSIG 13 /* for sockets. */ 308c2ecf20Sopenharmony_ci#define F_GETSIG 14 /* for sockets. */ 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci/* for posix fcntl() and lockf() */ 338c2ecf20Sopenharmony_ci#define F_RDLCK 01 348c2ecf20Sopenharmony_ci#define F_WRLCK 02 358c2ecf20Sopenharmony_ci#define F_UNLCK 03 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_ci#include <asm-generic/fcntl.h> 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ci#endif 40