]> granicus.if.org Git - postgresql/blobdiff - src/include/storage/fd.h
Update copyright for 2009.
[postgresql] / src / include / storage / fd.h
index dd539f76fba52c313439d221751f83861c7184fa..17aa150aa03ea33e2bdc4be9f522ec0c7ddcfa48 100644 (file)
@@ -4,10 +4,10 @@
  *       Virtual file descriptor definitions.
  *
  *
- * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/include/storage/fd.h,v 1.60 2007/07/26 15:15:18 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/storage/fd.h,v 1.63 2009/01/01 17:24:01 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -65,8 +65,8 @@ extern void FileClose(File file);
 extern int     FileRead(File file, char *buffer, int amount);
 extern int     FileWrite(File file, char *buffer, int amount);
 extern int     FileSync(File file);
-extern long FileSeek(File file, long offset, int whence);
-extern int     FileTruncate(File file, long offset);
+extern off_t FileSeek(File file, off_t offset, int whence);
+extern int     FileTruncate(File file, off_t offset);
 
 /* Operations that allow use of regular stdio --- USE WITH CAUTION */
 extern FILE *AllocateFile(const char *name, const char *mode);