Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/fcntl.h
Show First 20 Lines • Show All 349 Lines • ▼ Show 20 Lines | |||||
* similar syscalls. | * similar syscalls. | ||||
*/ | */ | ||||
#define FD_NONE -200 | #define FD_NONE -200 | ||||
/* | /* | ||||
* Commands for fspacectl(2) | * Commands for fspacectl(2) | ||||
*/ | */ | ||||
#define SPACECTL_DEALLOC 0 /* deallocate space */ | #define SPACECTL_DEALLOC 0 /* deallocate space */ | ||||
#define SPACECTL_ALLOC 1 /* allocate space */ | |||||
/* | /* | ||||
* fspacectl(2) flags | * fspacectl(2) flags | ||||
*/ | */ | ||||
#define SPACECTL_F_SUPPORTED 0 | #define SPACECTL_F_CANEXTEND (1) | ||||
#define SPACECTL_F_SUPPORTED (SPACECTL_F_CANEXTEND) | |||||
#endif | #endif | ||||
#ifndef _KERNEL | #ifndef _KERNEL | ||||
__BEGIN_DECLS | __BEGIN_DECLS | ||||
int open(const char *, int, ...); | int open(const char *, int, ...); | ||||
int creat(const char *, mode_t); | int creat(const char *, mode_t); | ||||
int fcntl(int, int, ...); | int fcntl(int, int, ...); | ||||
#if __BSD_VISIBLE | #if __BSD_VISIBLE | ||||
Show All 14 Lines |