/*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2001 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
#define O_EXLOCK 0x0020 /* open with exclusive file lock */
#define O_ASYNC 0x0040 /* signal pgrp when data ready */
#define O_FSYNC 0x0080 /* synchronous writes */
+#define O_NOFOLLOW 0x0100 /* don't follow symlinks */
#endif
#define O_CREAT 0x0200 /* create if nonexistant */
#define O_TRUNC 0x0400 /* truncate to zero length */
#define F_PEOFPOSMODE 3 /* Make it past all of the SEEK pos modes so that */
/* we can keep them in sync should we desire */
+#define F_VOLPOSMODE 4 /* specify volume starting postion */
/*
* Advisory file segment locking data type -
#define LOCK_UN 0x08 /* unlock file */
#endif
-/* fstore_t type used by F_DEALLCOATE and F_PREALLCOATE commands */
+/* fstore_t type used by F_DEALLOCATE and F_PREALLOCATE commands */
typedef struct fstore {
- u_int32_t fst_flags; /* IN: flags word */
+ u_int32_t fst_flags; /* IN: flags word */
int fst_posmode; /* IN: indicates use of offset field */
off_t fst_offset; /* IN: start of the region */
off_t fst_length; /* IN: size of the region */