1gensio_alloc_channel(3)    Library Functions Manual    gensio_alloc_channel(3)
2
3
4

NAME

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

SYNOPSIS

9       #include <gensio/gensio.h>
10
11       int gensio_alloc_channel(struct gensio *io, const char * const args[],
12                           gensio_event cb, void *user_data,
13                           struct gensio **new_io);
14

DESCRIPTION

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

RETURN VALUES

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

SEE ALSO

26       gensio_err(3),  gensio(5),  gensio_os_funcs(3),  gensio_event(3),  gen‐
27       sio_open(3)
28
29
30
31                                  27 Feb 2019          gensio_alloc_channel(3)
Impressum