GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
gensio_acc_shutdown(3) FreeBSD Library Functions Manual gensio_acc_shutdown(3)

gensio_acc_shutdown, gensio_acc_shutdown_s, gensio_acc_disable, gensio_acc_free - Stop/free a gensio accepter that is started up

#include <gensio/gensio.h>


void *cb_data);

gensio_acc_done shutdown_done,
void *shutdown_data);

gensio_acc_shutdown Closes all sockets and disables everything in the gensio accepter. shutdown_done() will be called if successful after the shutdown is complete, if it is not NULL. Returns a GE_INUSE if the accepter is already shut down, zero otherwise.

gensio_acc_shutdown_s shuts down the gensio and wait for the shutdown to finish. See the notes in gensio_close_s(3) for warning on using this.

gensio_acc_disable is like gensio_disable(3), but for accepters. See gensio_disable(3) for details.

gensio_acc_free frees the network accepter. If the network accepter is started up, this shuts it down first and shutdown_done() is NOT called.

Zero is returned on success, or a gensio error on failure.

gensio_err(3), gensio(5)

27 Feb 2019

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.