mirror of
https://github.com/troglobit/libite.git
synced 2026-11-02 13:10:33 +00:00
Add support for fopenf(), formatted string fopen()
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
28c11f010a
commit
02a42a1cad
7 files changed
+93
-1
No files matched your search
@@ -181,6 +181,15 @@ Generic Functions
|
||||
|
||||
Check for the existence of a directory, returns True(1) or False(0).
|
||||
|
||||
- `fopenf(mode, fmt, ...)`
|
||||
|
||||
Like `fopen()`, but takes a formatted string as argument. This
|
||||
greatly simplifies operations that usually consist of composing a
|
||||
filename from parts into a dynamic buffer before actually opening
|
||||
the file.
|
||||
|
||||
> **Notice:** the swapped order of `pathname` and `mode`!
|
||||
|
||||
- `fsendfile(src, dst, len)`
|
||||
|
||||
Copy data between file streams, very similar to `fcopyfile()`, but
|
||||
|
||||
Reference in new issue
Block a user