OSDN Git Service

Add fseeko/ftello prototypes for BSD/OS only to c.h.
authorBruce Momjian <bruce@momjian.us>
Wed, 23 Oct 2002 23:37:47 +0000 (23:37 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 23 Oct 2002 23:37:47 +0000 (23:37 +0000)
src/include/c.h

index a51e012..ba0fb35 100644 (file)
@@ -12,7 +12,7 @@
  * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: c.h,v 1.128 2002/10/08 23:12:22 momjian Exp $
+ * $Id: c.h,v 1.129 2002/10/23 23:37:47 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -639,6 +639,11 @@ typedef NameData *Name;
 #include <unistd.h>
 #endif
 
+#if defined(bsdi)
+int fseeko(FILE *stream, off_t offset, int whence);
+off_t ftello(FILE *stream);
+#endif
+
 /* These are for things that are one way on Unix and another on NT */
 #define NULL_DEV               "/dev/null"