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_DOS_LINE_TERM ##### -->
100 <!-- ##### MACRO G_IO_CHANNEL_ENCODE_RAW ##### -->
102 Encoding for nonbuffered IO. With this encoding, data must be
103 read using g_io_channel_read_chars(); the other functions will
108 <!-- ##### MACRO G_IO_CHANNEL_MACINTOSH_LINE_TERM ##### -->
114 <!-- ##### MACRO G_IO_CHANNEL_UNIX_LINE_TERM ##### -->
120 <!-- ##### MACRO access ##### -->
126 <!-- ##### MACRO close ##### -->
132 <!-- ##### MACRO fdopen ##### -->
138 <!-- ##### FUNCTION g_channel_error_from_errno ##### -->
146 <!-- ##### FUNCTION g_channel_error_quark ##### -->
153 <!-- ##### FUNCTION g_convert_error_quark ##### -->
160 <!-- ##### FUNCTION g_main_add_poll ##### -->
162 Adds a file descriptor to be polled.
163 This is usually combined with g_source_add() to add an event source.
164 The event source's check function will typically test the revents
165 field in the #GPollFD struct and return TRUE if events need to be processed.
168 @fd: a #GPollFD, which is a file descriptor together with a bitwise
169 combination of #GIOCondition flags determining which events to poll for.
170 @priority: the priority of the poll, which should be the same as the priority
171 used for g_source_add() to ensure that the file descriptor is polled whenever
172 the results may be needed.
173 See #G_PRIORITY_DEFAULT, #G_PRIORITY_DEFAULT_IDLE, #G_PRIORITY_HIGH,
174 #G_PRIORITY_HIGH_IDLE, and #G_PRIORITY_LOW.
176 <!-- ##### FUNCTION g_main_context_get ##### -->
184 <!-- ##### FUNCTION g_main_loop_destroy ##### -->
191 <!-- ##### FUNCTION g_main_remove_poll ##### -->
193 Removes a file descriptor from the list being polled.
196 @fd: the #GPollFD to remove.
198 <!-- ##### FUNCTION g_main_win32_get_poll_func ##### -->
205 <!-- ##### FUNCTION g_mem_check ##### -->
207 Checks if the given memory has already been freed. If it has it outputs
209 To use this function you must configure glib with the flag
210 '--enable-mem-check=yes' before compiling.
213 @mem: the memory to check.
215 <!-- ##### FUNCTION g_scanner_stat_mode ##### -->
217 Gets the file attributes.
218 This is the <structfield>st_mode</structfield> field from the
219 <structname>stat</structname> structure. See the <function>stat()</function>
223 @filename: the file name.
224 @Returns: the file attributes.
226 <!-- ##### FUNCTION g_source_add ##### -->
240 <!-- ##### FUNCTION g_source_connect ##### -->
250 <!-- ##### FUNCTION g_source_connect_indirect ##### -->
259 <!-- ##### FUNCTION g_source_remove_by_source_data ##### -->
261 Removes the first event source found with the given source data.
264 Event sources are sorted with the highest priority first. Sources with equal
265 priority are stored in the order in which they were added.
268 @source_data: the source data, which contains information specific to the
270 @Returns: TRUE if an event source was found and removed.
272 <!-- ##### FUNCTION g_static_private_get_for_thread ##### -->
281 <!-- ##### FUNCTION g_static_private_set_for_thread ##### -->
291 <!-- ##### MACRO g_string ##### -->
293 Turns the argument into a string literal by using the '#' stringizing operator.
296 @x: text to convert to a literal string.
298 <!-- ##### MACRO getcwd ##### -->
304 <!-- ##### MACRO getpid ##### -->
310 <!-- ##### MACRO lseek ##### -->
316 <!-- ##### MACRO open ##### -->
322 <!-- ##### MACRO pclose ##### -->
328 <!-- ##### MACRO popen ##### -->
334 <!-- ##### MACRO read ##### -->
340 <!-- ##### MACRO write ##### -->