/usr/include/yalecad/program.h is in libycadgraywolf-dev 0.1.4+20170307gite1bf319-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | /* -----------------------------------------------------------------
"@(#) program.h version 1.5 3/5/92"
FILE: program.h
DESCRIPTION:Insert file for program utility routines.
DATE: Mar 16, 1989
REVISIONS:
----------------------------------------------------------------- */
#ifndef PROGRAM_H
#define PROGRAM_H
#include <yalecad/base.h>
extern char *YinitProgram( P3(char *name, char *version,
VOID (*introTextFunction)() ) ) ;
/*
Function:
Returns string with program name, version, and compile date.
This string is built with YmsgG (actually a global note G suffix ).
The user may perform various initialization in introTextFunction.
There are no arguments to introTextFunction but user may
get at the return string by peeking at YmsgG. This routine also
starts the elapsed timer.
*/
extern YexitPgm( P1(INT status) ) ;
/*
Function:
Exit a program gracefully. It always outputs a message with
the number of errors and warnings during the execution. A
nonzero status means the execution failed. Status follows the
normal UNIX rules. Exit program also calls the debug write
function to create a dbg file if debug has been set.
*/
extern char *YgetProgName() ;
/*
Function:
Returns the program name given in YinitProgram.
*/
#endif /* PROGRAM_H */
|