Home
last modified time | relevance | path

Searched refs:prgname (Results 1 – 1 of 1) sorted by relevance

/aoo4110/main/odk/source/unoapploader/unx/
H A Dunoapploader.c288 const char* prgname = NULL; in createCommandName() local
296 prgname = argv0; in createCommandName()
307 prgname = dl_info.dli_fname; in createCommandName()
311 if ( prgname != NULL ) in createCommandName()
313 cmdname = (char*) malloc( strlen( prgname ) + strlen( CMDPREFIX ) + 1 ); in createCommandName()
314 sep = strrchr( prgname, SEPARATOR ); in createCommandName()
317 pos = ++sep - prgname; in createCommandName()
318 strncpy( cmdname, prgname, pos ); in createCommandName()
326 strcat( cmdname, prgname ); in createCommandName()

Completed in 29 milliseconds