FILESEEK(3)
πΈ NAME πΈ
fileseek() β sets file position, bestie. That's the whole assignment: moving the file position where you need it. π
β¨ SYNOPSIS β¨
fileseek(f,offset)
FILE *f;
long offset;
π¦ DESCRIPTION π¦
Okay so fileseek() sets the logical position in the file f to offset. The next read or write operation begins with the byte at the new offset. Literally that's the vibe β cursor moved, business handled. β¨
π RETURNS π
none. No return value, no extra little treat, nothing. Periodt. π
π NOTES π
- File positions begin with
0for the first byte. Zero-indexed, as she should be. π - When writing, it is legal to seek beyond the end of file. Yes bestie, past EOF is allowed when you're writing β no cap.
This iconic page is FILESEEK(3) from SchilyΒ΄s LIBRARY FUNCTIONS, brought to you by Joerg Schilling on 2022/09/09. Mwah πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: libschily-devel-doc 2022.10.16-160000.2.2 Β· CDDL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms