Should lseek64 be exported?

Andreas Jaeger aj@suse.de
Thu Sep 6 16:08:00 GMT 2001


"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



More information about the Libc-alpha mailing list