- Specifies the connection to the Y server, obtained by a call to YOpenConnection.
The YShutdownServer function closes the connect to the Y server pointed to by connection. The connection pointer connection passed to this function should not be referanced again.
You will not receive a YShutdown event after this function is called.
If you only want to close the connection to the Y server then use YCloseConnection.
int main(int argc, char *argv)
YConnection *con = YOpenConnection(
if(con == NULL)