Skip to content

Commit f142b09

Browse files
committed
Add fseeko/ftello prototypes for BSD/OS only to c.h.
1 parent 3675d06 commit f142b09

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/include/c.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
1313
* Portions Copyright (c) 1994, Regents of the University of California
1414
*
15-
* $Id: c.h,v 1.128 2002/10/08 23:12:22 momjian Exp $
15+
* $Id: c.h,v 1.129 2002/10/23 23:37:47 momjian Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -639,6 +639,11 @@ typedef NameData *Name;
639639
#include <unistd.h>
640640
#endif
641641

642+
#if defined(bsdi)
643+
int fseeko(FILE *stream, off_t offset, int whence);
644+
off_t ftello(FILE *stream);
645+
#endif
646+
642647
/* These are for things that are one way on Unix and another on NT */
643648
#define NULL_DEV "/dev/null"
644649

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy