TIP: Click on subject to list as thread! ANSI
echo: cis.languages
to: ALL
from: David George 72240,134
date: 1990-05-20 21:01:16
subject: #Kreider fseek() bug

#: 3635 S3/Languages
    20-May-90  21:01:16
Sb: #Kreider fseek() bug
Fm: David George 72240,134
To: ALL

There seems to be a small problem with fseek() in the Kreider library.
I am using fseek(fp, --p, 2); to position the file pointer at the end
of a file and then back up character by character.                      

I am using this in my TAIL program (which works like the UNIX version).
With the Kreider C library I get too many lines.  When I ask for 10 it
gives me about 20 (not exactly, and it is different for different files).
However when I compile it on my Atari running Professional OS9 it works
fine.  Also when I compile it with the standard CLIB.L on the Coco it      
works.

Also is there any news on the 68K version of the Kreider library.  I
especially need the password functions for SU and CHOWN.

David George
72240,134

There are 2 Replies.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.