Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#3906 closed enhancement (invalid)

lseek64/llseek routine missing from libroot.so

Reported by: haiqu Owned by: axeld
Priority: normal Milestone: R1
Component: System/libroot.so Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

The lseek64 routine (also known in Linux as llseek) is not yet implemented. This is required for any access to EFI/GPT, especially being able to read modern MacOS X or Windows Vista drives.

Change History (3)

comment:1 by bonefish, 16 years ago

Resolution: invalid
Status: newclosed

BeOS's off_t has been 64 bit forever, so lseek() does fully suffice. Neither lseek64() nor llseek() are portable.

comment:2 by haiqu, 16 years ago

Great, so can they be mapped to lseek() in unistd.h then?

in reply to:  2 comment:3 by bonefish, 16 years ago

Replying to haiqu:

Great, so can they be mapped to lseek() in unistd.h then?

No, portable applications should just use lseek() instead of the non-portable functions.

Note: See TracTickets for help on using tickets.