bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

can't use the fseeko, even when defining _LARGEFILE_SOURCE


From: Alexis Vapillon
Subject: can't use the fseeko, even when defining _LARGEFILE_SOURCE
Date: Fri, 6 Apr 2001 07:48:40 -0700 (PDT)

I can't use the fseeko() and ftello() functions, even when defining
_LARGEFILE_SOURCE.

When compiling the following code:

   --------------------------------------
   #define _LARGEFILE_SOURCE 1
   #include <stdio.h>
   
   int main()
   {
     FILE *f = NULL;
     int  result = 0;
     off_t   offset = 0;
     
     result = fseeko( f, offset, SEEK_SET);
   }
   -------------------------------------

I get the following error message:

   -------------------------------------
   lfstest.c: In function `int main()':
   lfstest.c:10: implicit declaration of function `int fseeko(...)'   
   -------------------------------------

Is the problem in glibc, or in me ?

I'm using:
  - Linux Mandrake 7.0 on an Intel PC
  - kernel 2.2.15-4mdk
  - package glibc-devel version 2.1.3-5mkd

thanks.

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]