FILELUOPEN(3)

πŸ“¦
version 2022.10.16 Β· 2 versions
, in opensuse-leap 16.0

✨ 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, and fdown() may be used to map a FILE object to a corresponding LU number. iykyk 🫢
  • modes β€” a string encoding the modes of the file, just as for fileopen(), 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