]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/fs.h
[PATCH] FDPIC: Define SEEK_* constants in the Linux kernel headers
[net-next-2.6.git] / include / linux / fs.h
index 43aef9b230fdea43852a88a7d211372a0ea4e897..25610205c90d09e75ea827ae83ca0ebc9dc3445f 100644 (file)
 #define BLOCK_SIZE_BITS 10
 #define BLOCK_SIZE (1<<BLOCK_SIZE_BITS)
 
+#define SEEK_SET       0       /* seek relative to beginning of file */
+#define SEEK_CUR       1       /* seek relative to current file position */
+#define SEEK_END       2       /* seek relative to end of file */
+
 /* And dynamically-tunable limits and defaults: */
 struct files_stat_struct {
        int nr_files;           /* read only */