lseek problem #134
-
use lseek API function gives CC65 app |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi, can you be a little more specific ? Exactly how are you compiling/linking your code (in the Visual Studio environment, directly using the cc65 suite...), and do the calls to open() or read() also flag the same errors? Have you checked the spelling ("l" and not "1") ? We can't provide help without more information. lseek() works fine with cc65, the cc65 assembler, even my PLASMA interpreter that I'm writing. |
Beta Was this translation helpful? Give feedback.
-
Maybe you forgot |
Beta Was this translation helpful? Give feedback.
Maybe you forgot
#include <unistd.h>
which would make it undeclared.