164 #define F_FLOCK 53 /* private - set flock owned by file */
165 #define F_FLOCKW 54 /* private - set flock owned by file and wait */
166 #endif /* _STRICT_SYMBOLS */
167 #else
168 /* ILP32 large file application compilation environment version */
169 #define F_SETLK 34 /* Set file lock */
170 #define F_SETLKW 35 /* Set file lock and wait */
171 #define F_ALLOCSP 28 /* Alllocate file space */
172 #define F_FREESP 27 /* Free file space */
173 #define F_GETLK 33 /* Get file lock */
174 #define F_SETLK_NBMAND 44 /* private */
175 #if !defined(_STRICT_SYMBOLS)
176 #define F_OFD_GETLK 50 /* Get file lock owned by file */
177 #define F_OFD_SETLK 51 /* Set file lock owned by file */
178 #define F_OFD_SETLKW 52 /* Set file lock owned by file and wait */
179 #define F_FLOCK 55 /* private - set flock owned by file */
180 #define F_FLOCKW 56 /* private - set flock owned by file and wait */
181 #endif /* _STRICT_SYMBOLS */
182 #endif /* _LP64 || _FILE_OFFSET_BITS == 32 */
183
184 #if defined(_LARGEFILE64_SOURCE)
185
186 #if !defined(_LP64) || defined(_KERNEL)
187 /*
188 * transitional large file interface version
189 * These are only valid in a 32 bit application compiled with large files
190 * option, for source compatibility, the 64-bit versions are mapped back
191 * to the native versions.
192 */
193 #define F_SETLK64 34 /* Set file lock */
194 #define F_SETLKW64 35 /* Set file lock and wait */
195 #define F_ALLOCSP64 28 /* Allocate file space */
196 #define F_FREESP64 27 /* Free file space */
197 #define F_GETLK64 33 /* Get file lock */
198 #define F_SETLK64_NBMAND 44 /* private */
199 #if !defined(_STRICT_SYMBOLS)
200 #define F_OFD_GETLK64 50 /* Get file lock owned by file */
201 #define F_OFD_SETLK64 51 /* Set file lock owned by file */
202 #define F_OFD_SETLKW64 52 /* Set file lock owned by file and wait */
203 #define F_FLOCK64 55 /* private - set flock owned by file */
|
164 #define F_FLOCK 53 /* private - set flock owned by file */
165 #define F_FLOCKW 54 /* private - set flock owned by file and wait */
166 #endif /* _STRICT_SYMBOLS */
167 #else
168 /* ILP32 large file application compilation environment version */
169 #define F_SETLK 34 /* Set file lock */
170 #define F_SETLKW 35 /* Set file lock and wait */
171 #define F_ALLOCSP 28 /* Alllocate file space */
172 #define F_FREESP 27 /* Free file space */
173 #define F_GETLK 33 /* Get file lock */
174 #define F_SETLK_NBMAND 44 /* private */
175 #if !defined(_STRICT_SYMBOLS)
176 #define F_OFD_GETLK 50 /* Get file lock owned by file */
177 #define F_OFD_SETLK 51 /* Set file lock owned by file */
178 #define F_OFD_SETLKW 52 /* Set file lock owned by file and wait */
179 #define F_FLOCK 55 /* private - set flock owned by file */
180 #define F_FLOCKW 56 /* private - set flock owned by file and wait */
181 #endif /* _STRICT_SYMBOLS */
182 #endif /* _LP64 || _FILE_OFFSET_BITS == 32 */
183
184 #define F_ASSOCI_PID (USHRT_MAX)
185 #define F_DASSOC_PID (USHRT_MAX - 1)
186
187 #if defined(_LARGEFILE64_SOURCE)
188
189 #if !defined(_LP64) || defined(_KERNEL)
190 /*
191 * transitional large file interface version
192 * These are only valid in a 32 bit application compiled with large files
193 * option, for source compatibility, the 64-bit versions are mapped back
194 * to the native versions.
195 */
196 #define F_SETLK64 34 /* Set file lock */
197 #define F_SETLKW64 35 /* Set file lock and wait */
198 #define F_ALLOCSP64 28 /* Allocate file space */
199 #define F_FREESP64 27 /* Free file space */
200 #define F_GETLK64 33 /* Get file lock */
201 #define F_SETLK64_NBMAND 44 /* private */
202 #if !defined(_STRICT_SYMBOLS)
203 #define F_OFD_GETLK64 50 /* Get file lock owned by file */
204 #define F_OFD_SETLK64 51 /* Set file lock owned by file */
205 #define F_OFD_SETLKW64 52 /* Set file lock owned by file and wait */
206 #define F_FLOCK64 55 /* private - set flock owned by file */
|