logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

gensio_alloc_channel - Create a new channel on a channel-capable gensio

Description

gensio_alloc_channel  creates  a  new channel on a channel-capable gensio.  The exact meaning of channel,
       and the meaning of args depends on the  particular  gensio,  see  the  the  particular  gensio  class  in
       gensio(5). The new gensio created will be closed and you must call gensio_open on it to start it up.

Name

       gensio_alloc_channel - Create a new channel on a channel-capable gensio

Return Values

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

See Also

gensio_err(3), gensio(5), gensio_os_funcs(3), gensio_event(3), gensio_open(3)

                                                   27 Feb 2019                           gensio_alloc_channel(3)

Synopsis

#include<gensio/gensio.h>intgensio_alloc_channel(structgensio*io,constchar*constargs[],gensio_eventcb,void*user_data,structgensio**new_io);

See Also