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 GErrorFunc ##### -->
56 Specifies the type of function passed to g_set_error_handler().
59 @str: the error message.
61 <!-- ##### USER_FUNCTION GHookFreeFunc ##### -->
69 <!-- ##### ENUM GIOFileMode ##### -->
75 @G_IO_FILE_MODE_WRITE:
76 @G_IO_FILE_MODE_APPEND:
77 @G_IO_FILE_MODE_READ_WRITE:
78 @G_IO_FILE_MODE_READ_WRITE_TRUNCATE:
79 @G_IO_FILE_MODE_READ_WRITE_APPEND:
81 <!-- ##### USER_FUNCTION GWarningFunc ##### -->
83 Specifies the type of function passed to g_set_warning_handler().
86 @str: the warning message.
88 <!-- ##### MACRO G_CHANNEL_ERROR ##### -->
94 <!-- ##### MACRO G_HOOK_DEFERRED_DESTROY ##### -->
100 <!-- ##### MACRO G_IO_CHANNEL_DEFAULT_LINE_TERM ##### -->
102 One of %G_IO_CHANNEL_UNIX_LINE_TERM, %G_IO_CHANNEL_DOS_LINE_TERM,
103 or %G_IO_CHANNEL_MACINTOSH_LINE_TERM (unimplemented)
104 depending on the system type.
108 <!-- ##### MACRO G_IO_CHANNEL_DOS_LINE_TERM ##### -->
114 <!-- ##### MACRO G_IO_CHANNEL_ENCODE_RAW ##### -->
116 Encoding for nonbuffered IO. With this encoding, data must be
117 read using g_io_channel_read_chars(); the other functions will
122 <!-- ##### MACRO G_IO_CHANNEL_MACINTOSH_LINE_TERM ##### -->
128 <!-- ##### MACRO G_IO_CHANNEL_UNIX_LINE_TERM ##### -->
134 <!-- ##### MACRO access ##### -->
140 <!-- ##### MACRO close ##### -->
146 <!-- ##### MACRO fdopen ##### -->
152 <!-- ##### FUNCTION g_channel_error_from_errno ##### -->
160 <!-- ##### FUNCTION g_channel_error_quark ##### -->
167 <!-- ##### FUNCTION g_convert_error_quark ##### -->
174 <!-- ##### FUNCTION g_main_add_poll ##### -->
176 Adds a file descriptor to be polled.
177 This is usually combined with g_source_add() to add an event source.
178 The event source's check function will typically test the revents
179 field in the #GPollFD struct and return TRUE if events need to be processed.
182 @fd: a #GPollFD, which is a file descriptor together with a bitwise
183 combination of #GIOCondition flags determining which events to poll for.
184 @priority: the priority of the poll, which should be the same as the priority
185 used for g_source_add() to ensure that the file descriptor is polled whenever
186 the results may be needed.
187 See #G_PRIORITY_DEFAULT, #G_PRIORITY_DEFAULT_IDLE, #G_PRIORITY_HIGH,
188 #G_PRIORITY_HIGH_IDLE, and #G_PRIORITY_LOW.
190 <!-- ##### FUNCTION g_main_context_get ##### -->
198 <!-- ##### FUNCTION g_main_loop_destroy ##### -->
205 <!-- ##### FUNCTION g_main_remove_poll ##### -->
207 Removes a file descriptor from the list being polled.
210 @fd: the #GPollFD to remove.
212 <!-- ##### FUNCTION g_main_win32_get_poll_func ##### -->
219 <!-- ##### FUNCTION g_mem_check ##### -->
221 Checks if the given memory has already been freed. If it has it outputs
223 To use this function you must configure glib with the flag
224 '--enable-mem-check=yes' before compiling.
227 @mem: the memory to check.
229 <!-- ##### FUNCTION g_scanner_stat_mode ##### -->
231 Gets the file attributes.
232 This is the <structfield>st_mode</structfield> field from the
233 <structname>stat</structname> structure. See the <function>stat()</function>
237 @filename: the file name.
238 @Returns: the file attributes.
240 <!-- ##### FUNCTION g_set_error_handler ##### -->
242 Sets the function to be called to handle error messages.
243 This function is deprecated in favour of the new logging facilities.
246 @func: the function to be called to handle error messages.
247 @Returns: the old error handler.
249 <!-- ##### FUNCTION g_set_message_handler ##### -->
251 Sets the function to be called to handle messages.
252 This function is deprecated in favour of the new logging facilities.
255 @func: the function to be called to handle normal messages.
256 @Returns: the old message handler.
258 <!-- ##### FUNCTION g_set_warning_handler ##### -->
260 Sets the function to be called to handle warning messages.
261 This function is deprecated in favour of the new logging facilities.
264 @func: the function to be called to handle warning messages.
265 @Returns: the old warning handler.
267 <!-- ##### FUNCTION g_source_add ##### -->
281 <!-- ##### FUNCTION g_source_connect ##### -->
291 <!-- ##### FUNCTION g_source_connect_indirect ##### -->
300 <!-- ##### FUNCTION g_source_remove_by_source_data ##### -->
302 Removes the first event source found with the given source data.
305 Event sources are sorted with the highest priority first. Sources with equal
306 priority are stored in the order in which they were added.
309 @source_data: the source data, which contains information specific to the
311 @Returns: TRUE if an event source was found and removed.
313 <!-- ##### FUNCTION g_static_private_get_for_thread ##### -->
322 <!-- ##### FUNCTION g_static_private_set_for_thread ##### -->
332 <!-- ##### MACRO g_string ##### -->
334 Turns the argument into a string literal by using the '#' stringizing operator.
337 @x: text to convert to a literal string.
339 <!-- ##### MACRO getcwd ##### -->
345 <!-- ##### MACRO getpid ##### -->
351 <!-- ##### MACRO lseek ##### -->
357 <!-- ##### MACRO open ##### -->
363 <!-- ##### MACRO pclose ##### -->
369 <!-- ##### MACRO popen ##### -->
375 <!-- ##### MACRO read ##### -->
381 <!-- ##### MACRO write ##### -->