func: int svn_cmdline_init(const char *progname,FILE *error_stream) apr_status_t status ; svn_error_t * err ; struct stat st ; if ( fstat ( 0 , & st ) == - 1 && open ( "/dev/null" , 0 ) == - 1 || fstat ( 1 , & st ) == - 1 && open ( "/dev/null" , 01 ) == - 1 || fstat ( 2 , & st ) == - 1 && open ( "/dev/null" , 01 ) == - 1 )  status = apr_initialize ( ); if ( status )  if ( err = svn_dso_initialize2 ( ) )  if ( 0 > atexit ( apr_terminate ) )  if ( error_stream )  fprintf ( error_stream , "%s: error: atexit registration failed\n" , progname ); 