Query: mbkunlink
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MBKUNLINK(3) MBK UTILITY FUNCTIONS MBKUNLINK(3)NAMEmbkunlink - delete a file in the WORK_LIBP.ORIGINThis software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.frSYNOPSYS#include "mut.h" FILE *mbkunlink(name, extension) char *name, *extension;PARAMETERSname Name of the file to be deleted extension Extension to the file nameDESCRIPTIONmbkunlink 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. The file to be erased is called name.extension, if extension is not NULL, else it is name. If extension is the empty string, "", then the file name will be name. .RETURN VALUEmbkunlink returns : -1 on failure, ie the file is not in the MBK_WORK_LIB path. 0 on success.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).BUG REPORTThis tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools.ASIM/LIP6 October 1, 1997 MBKUNLINK(3)
Related Man Pages |
---|
mbk_work_lib(1) - debian |
mbkunlink(3) - debian |
mbk_work_lib(1) - minix |
mbk_work_lib(1) - centos |
mbk_work_lib(1) - sunos |
Similar Topics in the Unix Linux Community |
---|
file extension based software execution |
How do manipulate file path and names |