Back to index

plt-scheme  4.2.1
Functions
add_gc_prefix.c File Reference
#include <stdio.h>
#include "version.h"

Go to the source code of this file.

Functions

int main (int argc, char **argv, char **envp)

Function Documentation

int main ( int  argc,
char **  argv,
char **  envp 
)

Definition at line 4 of file add_gc_prefix.c.

{
    int i;
    
    for (i = 1; i < argc; i++) {
      if (GC_ALPHA_VERSION == GC_NOT_ALPHA) {
       printf("gc%d.%d/%s ", GC_VERSION_MAJOR, GC_VERSION_MINOR, argv[i]);
      } else {
       printf("gc%d.%dalpha%d/%s ", GC_VERSION_MAJOR,
              GC_VERSION_MINOR, GC_ALPHA_VERSION, argv[i]);
      }
    }
    return(0);
}