Compaq SC RMS Server User Manual


 
rms_suspendResource(3)
NAME
rms_suspendResource, rms_resumeResource, rms_killResource – Job control
operations on allocated resources
SYNOPSIS
cc [ flag ... ] file ... -lrmsapi -lrms [ library ... ]
#include <rms/rmsapi.h>
int rms_suspendResource(int rid);
int rms_resumeResource(int rid);
int rms_killResource(int rid, int signo);
PARAMETERS
rid ID of the resource.
signo Signal to send.
DESCRIPTION
rms_suspendResource() and rms_resumeResource() suspend and resume a
resource specified by rid. The caller must be either the owner of the resource or a
member of the rms group.
rms_killResource() sends a signal to all of the processes in all of the jobs running on
a specified resource. The caller must be either the owner of the resource or a member of
the rms group.
RETURN VALUES
Upon successful completion, rms_suspendResource(), rms_resumeResource() and
rms_killResource() return 0. On error they return a negative integer.
SEE ALSO
rms_allocateResource(3)
D-6 RMS Application Interface