1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
@c -*-texinfo-*-
@c This is part of the GNU G-Golf Reference Manual.
@c Copyright (C) 2019 Free Software Foundation, Inc.
@c See the file g-golf.texi for copying conditions.
@c @defindex tl
@node UNIX-specific utilities and integration
@subsection UNIX-specific utilities and integration
G-Golf Glib UNIX-specific utilities and integration low level API.@*
UNIX-specific utilities and integration — pipes, signal handling.
@subheading Procedures
@indentedblock
@table @code
@item @ref{g-unix-fd-source-new}
@end table
@end indentedblock
@c @subheading Types and Values
@c @indentedblock
@c @table @code
@c @item @ref{%g-io-condition}
@c @end table
@c @end indentedblock
@c @subheading Struct Hierarchy
@c @indentedblock
@c GIBaseInfo @*
@c @ @ +--- GIRegisteredTypeInfo @*
@c @ @ @ @ @ @ @ @ @ @ @ +--- GIEnumInfo
@c @end indentedblock
@subheading Description
Most of GLib is intended to be portable; in contrast, this set of
functions is designed for programs which explicitly target UNIX, or are
using it to build higher level abstractions which would be conditionally
compiled if the platform matches G_OS_UNIX.
@subheading Procedures
Note: in this section, the @var{fd} and @var{condition} arguments are
[must be] respectively an integer (a @samp{valid} file descriptor) and a
list of one or more @ref{%g-io-condition} flags.
@anchor{g-unix-fd-source-new}
@deffn Procedure g-unix-fd-source-new fd condition
Returns a pointer.
Creates and returns a pointer to a new @code{GSource} to watch for a
particular IO @var{condition} on @var{fd}.
The source will never close the file descriptor, you must do it
yourself.
@end deffn
|