You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The lseek() function shall allow the file offset to be set beyond the end of the existing data in the file. If data is later written at this point, subsequent reads of data in the gap shall return bytes with the value 0 until data is actually written into the gap.
A simple fix should be to use GetEOF and SetEOF to change the logical EOF and set the position accordingly.
The text was updated successfully, but these errors were encountered:
According to POSIX.1:
A simple fix should be to use
GetEOF
andSetEOF
to change the logical EOF and set the position accordingly.The text was updated successfully, but these errors were encountered: