Annotation of 43BSDReno/contrib/isode-beta/doc/manual/grind4-6b.tex, revision 1.1.1.1

1.1       root        1: \File{grind4\-6b.py},{11:13},{Jul  4 1988}
                      2: \L{\LB{...}}
                      3: \L{\LB{}}
                      4: \L{\LB{\/*    MAIN *\/}}
                      5: \L{\LB{}}
                      6: \L{\LB{\/* ARGSUSED *\/}}
                      7: \L{\LB{}}
                      8: \L{\LB{main (argc, argv, envp)}}
                      9: \L{\LB{int}\Tab{8}{argc;}}
                     10: \L{\LB{char  **argv,}}
                     11: \L{\LB{      **envp;}}
                     12: \L{\LB{\{}}
                     13: \L{\LB{    PE}\Tab{8}{    pe;}}
                     14: \L{\LB{    PS}\Tab{8}{    ps;}}
                     15: \L{\LB{}}
                     16: \L{\LB{    myname = *argv;}}
                     17: \L{\LB{    if ((ps = ps\_alloc (std\_open)) == NULLPS)}}
                     18: \L{\LB{}\Tab{8}{adios (NULLCP, \S{}\"ps\_alloc loses\"\SE{});}}
                     19: \L{\LB{    if (std\_setup (ps, stdin) == NOTOK)}}
                     20: \L{\LB{}\Tab{8}{ps\_adios (ps, \S{}\"std\_setup\"\SE{});}}
                     21: \L{\LB{}}
                     22: \L{\LB{    for (;;) \{}}
                     23: \L{\LB{}\Tab{8}{if ((pe = ps2pe (ps)) == NULLPE)}}
                     24: \L{\LB{}\Tab{8}{    if (ps \-\> ps\_errno)}}
                     25: \L{\LB{}\Tab{16}{ps\_adios (ps, \S{}\"ps2pe\"\SE{});}}
                     26: \L{\LB{}\Tab{8}{    else}}
                     27: \L{\LB{}\Tab{16}{break;}}
                     28: \L{\LB{}}
                     29: \L{\LB{}\Tab{8}{(void) parse\_PERSONNEL\_PersonnelRecord (pe, 1, NULLIP, NULLVP,}}
                     30: \L{\LB{}\Tab{16}{    NULLCP);}}
                     31: \L{\LB{}}
                     32: \L{\LB{}\Tab{8}{pe\_free (pe);}}
                     33: \L{\LB{    \}}}
                     34: \L{\LB{}}
                     35: \L{\LB{    ps\_free (ps);}}
                     36: \L{\LB{}}
                     37: \L{\LB{    exit (0);}}
                     38: \L{\LB{\}}}
                     39: \L{\LB{}}
                     40: \L{\LB{\%\}}}
                     41: \L{\LB{}}
                     42: \L{\LB{...}}

unix.superglobalmegacorp.com

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