🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #4695

Problems with lseek() under Manx 5.0b

#4695
From: R. Michael Smithwick -- FSN
Date: Sat, 04 Aug 1990 22:50
16 lines
960 bytes
[]

As anyone else encounted the lseek problem in Manx 5.0b and
know of a workaround?

I want to lseek back to the beginning of a file, and write some
updated info to it. I use lseek(fd,0,0). Trouble is, write()
begins at the end of the file, not where the lseek is supposed to be.

mike

                                       >> mike smithwick <<

Any opinions are my own since nobody else would ever want them.

"Colonize Cyberspace!"
Technical Details
Message-ID: <55519@ames.arc.nasa.gov>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!elroy.jpl.nasa.gov!ames!pioneer.arc.nasa.gov!smithwik

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!elroy.jpl.nasa.gov!ames!pioneer.arc.nasa.gov!smithwik
From: smithwik@pioneer.arc.nasa.gov (R. Michael Smithwick -- FSN)
Newsgroups: comp.sys.amiga.tech
Subject: Problems with lseek() under Manx 5.0b
Message-ID: <55519@ames.arc.nasa.gov>
Date: 4 Aug 90 22:50:40 GMT
Sender: usenet@ames.arc.nasa.gov
Reply-To: smithwik@pioneer.arc.nasa.gov (R. Michael Smithwick -- FSN)
Organization: NASA Ames Research Center, Mtn Vw CA 94035
Lines: 16