Commit f142b091 authored by Bruce Momjian's avatar Bruce Momjian

Add fseeko/ftello prototypes for BSD/OS only to c.h.

parent 3675d064
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * 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; ...@@ -639,6 +639,11 @@ typedef NameData *Name;
#include <unistd.h> #include <unistd.h>
#endif #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 */ /* These are for things that are one way on Unix and another on NT */
#define NULL_DEV "/dev/null" #define NULL_DEV "/dev/null"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment