21 lines
296 B
C
21 lines
296 B
C
/* single.c
|
|
*
|
|
* Init to be called before single file
|
|
* creation as a final product.
|
|
*
|
|
* written by vx-clutch
|
|
*/
|
|
|
|
#include <unistd.h>
|
|
|
|
#include "file.h"
|
|
#include "single.h"
|
|
#include "usage.h"
|
|
|
|
int single_init(char *src)
|
|
{
|
|
if (ffexist(src))
|
|
die("%s already exists", src);
|
|
return 0;
|
|
}
|