t_getstate - get the current state
#include <xti.h>
int t_getstate(
int fd)
Parameters | Before call | After call |
---|---|---|
fd | x | / |
The t_getstate() function returns the current state of the provider associated with the transport endpoint specified by fd.
ALL - apart from T_UNINIT
On failure, t_errno is set to one of the following:
State is returned upon successful completion. Otherwise, a value of -1 is returned and t_errno is set to indicate an error. The current state is one of the following:
t_open(3)
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.