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_accepter_set_callback(3) FreeBSD Library Functions Manual gensio_accepter_set_callback(3)

gensio_accepter_set_callback, gensio_accepter_get_user_data, gensio_accepter_set_user_data - Set the event callback and user data for a gensio accepter

#include <gensio/gensio.h>


gensio_accepter_event cb, void *user_data)

gensio_accepter_set_callback sets the event handler and data for the gensio accepter. This function may be called again if the gensio accepter cannot generate any callbacks, generally after it has been shutdown. Otherwise race conditions may occur.

gensio_accepter_set_user_data Just sets the user_data field in the gensio accepter. If this is called when the gensio is running, race conditions may occur.

gensio_accepter_get_user_data Return the user data passed in with the gensio accepter was created or set by one of the above two functions.

gensio(5), gensio_accepter_event(3)

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.