Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mbkunlink(3) [debian man page]

MBKUNLINK(3)						       MBK UTILITY FUNCTIONS						      MBKUNLINK(3)

NAME
mbkunlink - delete a file in the WORK_LIBP. ORIGIN
This 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.fr SYNOPSYS
#include "mut.h" FILE *mbkunlink(name, extension) char *name, *extension; PARAMETERS
name Name of the file to be deleted extension Extension to the file name DESCRIPTION
mbkunlink 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 VALUE
mbkunlink 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 ALSO
mbk(1), MBK_WORK_LIB(1), unlink(3). BUG REPORT
This 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)

Check Out this Related Man Page

MBK_WORK_LIB(1) 					     MBK ENVIRONMENT VARIABLES						   MBK_WORK_LIB(1)

NAME
MBK_WORK_LIB - define the mbk working directory SYNOPSYS
c-shell running setenv MBK_WORK_LIB unix path ORIGIN
This 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.fr DESCRIPTION
MBK_WORK_LIB sets the directory where are saved the results of an invocation of mbk or genlib. This directory is considered to be, from an mbk point of view, read and write. Also, when a file is searched for reading, the first directory to be looked at is the MBK_WORK_LIB, and then the one defined in MBK_CATA_LIB(1). The unix path argument must be a actually accessible path on your host machine. ERRORS
"mbk_fopen : can't open file 'unix_path/file.xx'" This occurs when either the unix path is irrelevent, or when the file doesn't exist if it is open for reading, or when you don't have the right on the file or directory while trying to write it. EXAMPLE
setenv MBK_WORK_LIB ~fred/crechan/uom SEE ALSO
mbk(3), genlib(1), MBK_CATA_LIB(1). BUG REPORT
This 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 MBK_WORK_LIB(1)
Man Page