FILEREOPEN(3)

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

πŸ’… filereopen(3) β€” opens a new file on an open stream πŸ’…

okay so bestie, this one’s from SchilyΒ΄s LIBRARY FUNCTIONS, and it’s literally about swapping a new file onto a stream that’s already open. slay. πŸŽ€

🌸 NAME 🌸

filereopen() β€” opens a new file on an open stream

✨ SYNOPSIS ✨

FILE *filereopen(filename,modes,f)
char *name;
char *modes;
FILE *f;

πŸ¦‹ DESCRIPTION πŸ¦‹

filereopen() opens the file filename with modes modes on stream f. The modes argument has the same format as for fileopen(). And no cap, the stream f must be open already β€” that’s the whole vibe. πŸ’–

bestie, fr fr: the stream f has to be open. don’t come for me, that’s just the rule. πŸ‘‘

πŸ’€ RETURNS πŸ’€

  • NULL β€” reopen failed 😭
  • other β€” old stream ✨

signing off from SchilyΒ΄s LIBRARY FUNCTIONS, dated 2022/09/09, by Joerg Schilling 🫢 periodt πŸ’…

πŸ“¦ where this page comes from