deps/kb_meme/meme-5.0.1/src/meme2meme.c
/**************************************************************************
 * Print out the name of a symbol
 **************************************************************************/
Print out the name of a symbol
Print out the name of a symbol
static void print_name(FILE *out, const char *name) {
  const char *c;
  fputc('"', out);
  for (c = name; *c != '\0'; c++) {
    switch (*c) {
      case '"': fputs("\\\"", out); break;
      case '/': fputs("\\/", out); break;
      case '\\': fputs("\\\\", out); break;
      default: fputc(*c, out);
    }
  }
  fputc('"', out);
}
static void print_name ( FILE * out , const char * name ) { const char * c ; fputc ( ' ' , out ) ; for ( c = name ; * c != ' \0 ' ; c ++ ) { switch ( * c ) { case ' ' : fputs ( " \\ \" " , out ) ; break ; case ' ' : fputs ( " \\ " , out ) ; break ; case ' \\ ' : fputs ( " \\ \\ " , out ) ; break ; default : fputc ( * c , out ) ; } } fputc ( ' ' , out ) ; }
Print out the name of a symbol
Print out the name of a symbol