FILELUOPEN(3)
β¨ NAME β¨
okay so fileluopen() β opens a file given a logical unit number. This is FILELUOPEN(3) from Schily's LIBRARY FUNCTIONS, and we're gonna get you comfy with it, bestie π
πΈ SYNOPSIS πΈ
FILE *fileluopen(lu, modes)
int lu;
char *modes;
π¦ DESCRIPTION π¦
fileluopen() makes an object of type FILE, suitable for use with fileread(), putc(), etc. It's giving "build me a FILE handle and slay" β¨
luβ the logical unit number assigned by the kernel when it opens a file. LUs are not usually visible, lowkey hidden from view, although several routines require LUs as arguments, andfdown()may be used to map aFILEobject to a corresponding LU number. iykyk π«Άmodesβ a string encoding the modes of the file, just as forfileopen(), except that the'c'and't'options are not allowed. Not negotiable, bestie π
π RETURNS π
Returns the FILE value. That's it, that's the return π
Joerg Schilling, 2022/09/09, Schily's LIBRARY FUNCTIONS β cute little sign-off for this iconic manual page, periodt π
π¦ 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