usr.bin/tn3270/api/apilib.c
/*
 * Block until the oia or ps is modified.
 */
Block until the oia or ps is modified.
Block until the oia or ps is modified .
int
api_ps_or_oia_modified()
{
    union REGS regs;
    struct SREGS sregs;
    if (api_issue_regs(PS_OR_OIA_MODIFIED, 0, 0, 0, 0, 0, (char *) 0,
				0, &regs, &sregs) == -1) {
	return -1;
    } else {
	return 0;
    }
}
int api_ps_or_oia_modified ( ) { union REGS regs ; struct SREGS sregs ; if ( api_issue_regs ( PS_OR_OIA_MODIFIED , 0 , 0 , 0 , 0 , 0 , ( char * ) 0 , 0 , & regs , & sregs ) == -1 ) { return -1 ; } else { return 0 ; } }
Block until the oia or ps is modified.
Block until the oia or ps is modified .