|
NAMEmbkunlink - delete a file in the WORK_LIBP. See the file man1/alc_origin.1. SYNOPSIS#include "mut.h" FILE ∗mbkunlink(name, extension) char ∗name, ∗extension; PARAMETERSDESCRIPTIONmbkunlink deletes a file, searching it in the path
specified with the environment variable MBK_WORK_LIB(1). Its main
issue is to enable simple file deletion for any program that works with mbk
path environment variables.
RETURN VALUEmbkunlink returns :
EXAMPLE
#include "mut.h"
#include "mph.h"
void update_work_lib(name)
char ∗name;
{
char *path;
if (incatalogdelete(name))
if (mbkunlink(name, "cp"))
fprintf(stdout, "The file %s.cp was not in the work lib0,
name);
}
SEE ALSOmbk(1), MBK_WORK_LIB(1), unlink(3). See the file man1/alc_bug_report.1.
|