Home
last modified time | relevance | path

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

/dports/security/medusa/medusa-2.2/src/
H A Dmedusa.h215 char *pOptOutput; // user specified output file member
H A Dmedusa.c229 _psAudit->pOptOutput = malloc( strlen(optarg) + 1 ); in checkOptions()
230 memset(_psAudit->pOptOutput, 0, strlen(optarg) + 1); in checkOptions()
231 strncpy(_psAudit->pOptOutput, optarg, strlen(optarg)); in checkOptions()
2075 if (psAudit->pOptOutput != NULL) in main()
2077 if ((pOutputFile = fopen(psAudit->pOptOutput, "a+")) == NULL) in main()
2079 …writeError(ERR_FATAL, "Failed to open output file %s - %s", psAudit->pOptOutput, strerror( errno )… in main()
2126 if ((psAudit->pOptOutput != NULL) && (pthread_mutex_destroy(&ptmFileMutex) != 0)) in main()