1: # include "ctlmod.h"
2: # include <pv.h>
3: # include <sccs.h>
4:
5: SCCSID(@(#)getp.c 8.1 12/31/84)
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: }
Defined functions
getp
defined in line
5;
never used