#include <errno.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
|
int | fremove (const char *fmt,...) |
| Remove a file based on the formatted string and optional arguments. More...
|
|
- Author
- Joachim Wiberg
- Date
- 2021
- Copyright
- ISC License
◆ fremove()
int fremove |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
| |
Remove a file based on the formatted string and optional arguments.
- Parameters
-
fmt | Formatted string to be composed into a pathname |
This function is an extension to remove(), lessening the burden of first having to compose the filename from parts in a seprate buffer.
- Returns
- same as remove(3), with an extra errno,
ENOBUFS
if alloca() fails to get a temporary buffer for composing the file name.