SysTutorials

Linux Manual Pages › Section 3

pbs_disconnect(3)

pbs_disconnect – disconnect from a pbs batch server

Synopsis

#include <pbs_error.h>
#include <pbs_ifl.h>
int pbs_disconnect(int connect)

Description

The virtual stream connection specified by which was established with a server by a call to pbs_connect(), is closed.

See Also

pbs_connect(3B)

Diagnostics

When 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.