src/graph.c
/*
 * Lookup a name given an id and copy to dest
 */
Lookup a name given an id and copy to dest
Lookup a name given an id and copy to dest
int sta_name_copy(char* dest, int id) {
    if(id > name_lookup_ar_len) {
        return -1;
    }
    strcpy(dest, name_lookup_ar[id]);
    return 0;
}
int sta_name_copy ( char * dest , int id ) { if ( id > name_lookup_ar_len ) { return -1 ; } strcpy ( dest , name_lookup_ar [ id ] ) ; return 0 ; }
Lookup a name given an id and copy to dest
Lookup a name given an id and copy to dest