This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Should lseek64 be exported?


"H . J . Lu" <hjl@lucon.org> writes:

> When llseek is used for linking, we get
>
> the `llseek' function may be dangerous; use `lseek64' instead.
>
> But lseek64 is not exported from libc.so.6.

Please double check:
gromit:~/ELisp/pgnus:[0]$ nm /lib/libc.so.6 |grep lseek
00000000 ? __evoke_link_warning_llseek
000c6f70 T __libc_lseek
000d3180 T __libc_lseek64
000d3180 t __llseek
000c6f70 W __lseek
000d3180 t __lseek64
000d3180 W llseek
000c6f70 W lseek
000d3180 W lseek64

Why is it not exported for you?

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]