pbs_disconnect (3) - Linux Manuals
pbs_disconnect: disconnect from a pbs batch server
pbs_disconnect - disconnect from a pbs batch server
int pbs_disconnect(int connect)
DESCRIPTIONThe virtual stream connection specified by which was established with a server by a call to pbs_connect(), is closed.
DIAGNOSTICSWhen the connection to batch server has been successfully closed, the routine will return zero. Otherwise, a non zero error is returned. The error number is also set in pbs_errno.