Annotation of 42BSD/ingres/source/ctlmod/getp.c, revision 1.1.1.1

1.1       root        1: # include      "ctlmod.h"
                      2: # include      <pv.h>
                      3: # include      <sccs.h>
                      4: 
                      5: SCCSID(@(#)getp.c      7.1     2/5/81)
                      6: 
                      7: /*
                      8: **  GETP -- returns the current PV
                      9: **
                     10: **     Parameters:
                     11: **             none
                     12: **
                     13: **     Returns:
                     14: **             a pointer to the pv. (the PV[PC].pv_type == PV_EOF)
                     15: **
                     16: **     Side Effects:
                     17: **             sets PV[PC].pv_type = PV_EOF.
                     18: */
                     19: 
                     20: PARM *
                     21: getp()
                     22: {
                     23:        Ctx.ctx_pv[Ctx.ctx_pc].pv_type = PV_EOF;
                     24:        return (Ctx.ctx_pv);
                     25: }

unix.superglobalmegacorp.com

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