1 <!-- ##### ENUM GChannelError ##### -->
6 @G_CHANNEL_ERROR_ACCES:
8 @G_CHANNEL_ERROR_DEADLK:
9 @G_CHANNEL_ERROR_FAULT:
10 @G_CHANNEL_ERROR_INVAL:
12 @G_CHANNEL_ERROR_ISDIR:
13 @G_CHANNEL_ERROR_MFILE:
14 @G_CHANNEL_ERROR_NOLCK:
15 @G_CHANNEL_ERROR_NOSPC:
16 @G_CHANNEL_ERROR_PERM:
17 @G_CHANNEL_ERROR_PIPE:
18 @G_CHANNEL_ERROR_SPIPE:
19 @G_CHANNEL_ERROR_ENCODE_RW:
20 @G_CHANNEL_ERROR_FAILED:
22 <!-- ##### ENUM GChannelStatus ##### -->
27 @G_CHANNEL_STATUS_NORMAL:
28 @G_CHANNEL_STATUS_EOF:
29 @G_CHANNEL_STATUS_PARTIAL_CHARS:
30 @G_CHANNEL_STATUS_AGAIN:
31 @G_CHANNEL_STATUS_INTR:
32 @G_CHANNEL_STATUS_ERROR:
33 @G_CHANNEL_STATUS_BAD_INPUT:
35 <!-- ##### USER_FUNCTION GCompareFuncData ##### -->
45 <!-- ##### USER_FUNCTION GCompletionStrcmpFunc ##### -->
54 <!-- ##### USER_FUNCTION GHookFreeFunc ##### -->
62 <!-- ##### ENUM GIOFileMode ##### -->
68 @G_IO_FILE_MODE_WRITE:
69 @G_IO_FILE_MODE_APPEND:
70 @G_IO_FILE_MODE_READ_WRITE:
71 @G_IO_FILE_MODE_READ_WRITE_TRUNCATE:
72 @G_IO_FILE_MODE_READ_WRITE_APPEND:
74 <!-- ##### MACRO G_CHANNEL_ERROR ##### -->
80 <!-- ##### MACRO G_HOOK_DEFERRED_DESTROY ##### -->
86 <!-- ##### MACRO G_IO_CHANNEL_DEFAULT_LINE_TERM ##### -->
88 One of %G_IO_CHANNEL_UNIX_LINE_TERM, %G_IO_CHANNEL_DOS_LINE_TERM,
89 or %G_IO_CHANNEL_MACINTOSH_LINE_TERM (unimplemented)
90 depending on the system type.
94 <!-- ##### MACRO G_IO_CHANNEL_ENCODE_RAW ##### -->
96 Encoding for nonbuffered IO. With this encoding, data must be
97 read using g_io_channel_read_chars(); the other functions will
102 <!-- ##### MACRO access ##### -->
108 <!-- ##### MACRO close ##### -->
114 <!-- ##### MACRO fdopen ##### -->
120 <!-- ##### FUNCTION g_channel_error_from_errno ##### -->
128 <!-- ##### FUNCTION g_channel_error_quark ##### -->
135 <!-- ##### FUNCTION g_convert_error_quark ##### -->
142 <!-- ##### FUNCTION g_main_add_poll ##### -->
144 Adds a file descriptor to be polled.
145 This is usually combined with g_source_add() to add an event source.
146 The event source's check function will typically test the revents
147 field in the #GPollFD struct and return TRUE if events need to be processed.
150 @fd: a #GPollFD, which is a file descriptor together with a bitwise
151 combination of #GIOCondition flags determining which events to poll for.
152 @priority: the priority of the poll, which should be the same as the priority
153 used for g_source_add() to ensure that the file descriptor is polled whenever
154 the results may be needed.
155 See #G_PRIORITY_DEFAULT, #G_PRIORITY_DEFAULT_IDLE, #G_PRIORITY_HIGH,
156 #G_PRIORITY_HIGH_IDLE, and #G_PRIORITY_LOW.
158 <!-- ##### FUNCTION g_main_context_get ##### -->
166 <!-- ##### FUNCTION g_main_loop_destroy ##### -->
173 <!-- ##### FUNCTION g_main_remove_poll ##### -->
175 Removes a file descriptor from the list being polled.
178 @fd: the #GPollFD to remove.
180 <!-- ##### FUNCTION g_main_win32_get_poll_func ##### -->
187 <!-- ##### FUNCTION g_mem_check ##### -->
189 Checks if the given memory has already been freed. If it has it outputs
191 To use this function you must configure glib with the flag
192 '--enable-mem-check=yes' before compiling.
195 @mem: the memory to check.
197 <!-- ##### FUNCTION g_scanner_stat_mode ##### -->
199 Gets the file attributes.
200 This is the <structfield>st_mode</structfield> field from the
201 <structname>stat</structname> structure. See the <function>stat()</function>
205 @filename: the file name.
206 @Returns: the file attributes.
208 <!-- ##### FUNCTION g_source_add ##### -->
222 <!-- ##### FUNCTION g_source_connect ##### -->
232 <!-- ##### FUNCTION g_source_connect_indirect ##### -->
241 <!-- ##### FUNCTION g_source_remove_by_source_data ##### -->
243 Removes the first event source found with the given source data.
246 Event sources are sorted with the highest priority first. Sources with equal
247 priority are stored in the order in which they were added.
250 @source_data: the source data, which contains information specific to the
252 @Returns: TRUE if an event source was found and removed.
254 <!-- ##### FUNCTION g_static_private_get_for_thread ##### -->
263 <!-- ##### FUNCTION g_static_private_set_for_thread ##### -->
273 <!-- ##### MACRO g_string ##### -->
275 Turns the argument into a string literal by using the '#' stringizing operator.
278 @x: text to convert to a literal string.
280 <!-- ##### MACRO getcwd ##### -->
286 <!-- ##### MACRO getpid ##### -->
292 <!-- ##### MACRO lseek ##### -->
298 <!-- ##### MACRO open ##### -->
304 <!-- ##### MACRO pclose ##### -->
310 <!-- ##### MACRO popen ##### -->
316 <!-- ##### MACRO read ##### -->
322 <!-- ##### MACRO write ##### -->