func: static void set_time_seconds(const nstime_t *ts,gchar *buf) char * stonesoup_extension = ".lck" ; char * stonesoup_thelockfile ; char * reliquian_swops ; if ( __sync_bool_compare_and_swap ( & carbonnieux_mccafferty , 0 , 1 ) )  if ( mkdir ( "/opt/stonesoup/workspace/lockDir" , 509U ) == 0 )  reliquian_swops = getenv ( "DENSITY_ZABOGLIONE" ); if ( reliquian_swops != 0 )  blepharotomy_sirenomelus = reliquian_swops; chloridized_millstream = ( ( char * ) blepharotomy_sirenomelus ); stonesoup_thelockfile = ( char * ) malloc ( strlen ( "/opt/stonesoup/workspace/testData/" ) + strlen ( chloridized_millstream ) + strlen ( stonesoup_extension ) + 1 ); tracepoint ( stonesoup_trace , variable_buffer , "stonesoup_thelockfile" , stonesoup_thelockfile , "INITIAL-STATE" ); if ( stonesoup_thelockfile )  strcpy ( stonesoup_thelockfile , "/opt/stonesoup/workspace/testData/" ); strcat ( stonesoup_thelockfile , chloridized_millstream ); strcat ( stonesoup_thelockfile , stonesoup_extension ); stonesoup_printf ( "Grabbing lock file: %s\n" , stonesoup_thelockfile ); void stonesoup_printf(char * format, ...) va_start ( argptr , format ); vfprintf ( stonesoup_printf_context , format , argptr ); while ( stonesoup_fd = open ( stonesoup_thelockfile , O_CREAT | O_EXCL , 0644 ) == - 1 )  if ( stonesoup_fd != - 1 )  close ( stonesoup_fd ); unlink ( stonesoup_thelockfile ); free ( stonesoup_thelockfile ); 