IOChannel impl

Implements IOChannel.

Summary
IOChannel implImplements IOChannel.
CopyrightThis program is free software.
Files
C-kern/api/io/iochannel.hHeader file IOChannel.
C-kern/platform/Linux/io/iochannel.cImplementation file IOChannel impl.
iochannel_t
lifetime
query
nropen_iochannelUses Linux specific “/proc/self/fd” interface.
I/O
test

Copyright

This program is free software.  You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Author

© 2013 Jörg Seebohn

Files

C-kern/api/io/iochannel.h

Header file IOChannel.

C-kern/platform/Linux/io/iochannel.c

Implementation file IOChannel impl.

iochannel_t

Summary
lifetime
query
nropen_iochannelUses Linux specific “/proc/self/fd” interface.
I/O
test

lifetime

query

nropen_iochannel

int nropen_iochannel(/*out*/size_t *number_open)

Uses Linux specific “/proc/self/fd” interface.

I/O

test

Describes an input/output channel which is implemented as file descriptor on POSIX systems.
Implements IOChannel.
int nropen_iochannel(/*out*/size_t *number_open)
Uses Linux specific “/proc/self/fd” interface.
Close