Annotation of researchv10no/libpicfile/picgetprop.c, revision 1.1

1.1     ! root        1: #include <picfile.h>
        !             2: #include <stdio.h>
        !             3: char *picgetprop(f, name)
        !             4: PICFILE *f;
        !             5: char *name;
        !             6: {
        !             7:        int i, len=strlen(name);
        !             8:        for(i=0;i!=f->argc;i++)
        !             9:                if(strncmp(f->argv[i], name, len)==0 && f->argv[i][len]=='=')
        !            10:                        return f->argv[i]+len+1;
        !            11:        return 0;
        !            12: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.