Logo Search packages:      
Sourcecode: freecraft version File versions

prgname.c

const char *prgname = 0;

extern char *strrchr(const char *, int);

void
setprgname(char *str)
{
    char *x = strrchr(str, '/');

    prgname = x ? x+1 : str;
}

Generated by  Doxygen 1.6.0   Back to index