1 <!-- ##### USER_FUNCTION GCompareFuncData ##### -->
11 <!-- ##### USER_FUNCTION GCompletionStrcmpFunc ##### -->
20 <!-- ##### USER_FUNCTION GHookFreeFunc ##### -->
28 <!-- ##### MACRO G_HOOK_DEFERRED_DESTROY ##### -->
34 <!-- ##### MACRO access ##### -->
40 <!-- ##### MACRO close ##### -->
46 <!-- ##### MACRO fdopen ##### -->
52 <!-- ##### FUNCTION g_convert_error_quark ##### -->
59 <!-- ##### FUNCTION g_main_add_poll ##### -->
61 Adds a file descriptor to be polled.
62 This is usually combined with g_source_add() to add an event source.
63 The event source's check function will typically test the revents
64 field in the #GPollFD struct and return TRUE if events need to be processed.
67 @fd: a #GPollFD, which is a file descriptor together with a bitwise
68 combination of #GIOCondition flags determining which events to poll for.
69 @priority: the priority of the poll, which should be the same as the priority
70 used for g_source_add() to ensure that the file descriptor is polled whenever
71 the results may be needed.
72 See #G_PRIORITY_DEFAULT, #G_PRIORITY_DEFAULT_IDLE, #G_PRIORITY_HIGH,
73 #G_PRIORITY_HIGH_IDLE, and #G_PRIORITY_LOW.
75 <!-- ##### FUNCTION g_main_loop_destroy ##### -->
82 <!-- ##### FUNCTION g_main_remove_poll ##### -->
84 Removes a file descriptor from the list being polled.
87 @fd: the #GPollFD to remove.
89 <!-- ##### FUNCTION g_main_win32_get_poll_func ##### -->
96 <!-- ##### FUNCTION g_mem_check ##### -->
98 Checks if the given memory has already been freed. If it has it outputs
100 To use this function you must configure glib with the flag
101 '--enable-mem-check=yes' before compiling.
104 @mem: the memory to check.
106 <!-- ##### FUNCTION g_source_add ##### -->
120 <!-- ##### FUNCTION g_source_connect ##### -->
130 <!-- ##### FUNCTION g_source_connect_indirect ##### -->
139 <!-- ##### FUNCTION g_source_remove_by_source_data ##### -->
141 Removes the first event source found with the given source data.
144 Event sources are sorted with the highest priority first. Sources with equal
145 priority are stored in the order in which they were added.
148 @source_data: the source data, which contains information specific to the
150 @Returns: TRUE if an event source was found and removed.
152 <!-- ##### MACRO g_string ##### -->
154 Turns the argument into a string literal by using the '#' stringizing operator.
157 @x: text to convert to a literal string.
159 <!-- ##### FUNCTION g_tree_lookup_extended ##### -->
161 Gets the original key and the associated value and a gboolean which is
162 TRUE if the key was found. This is useful if you need to free the memory
163 allocated for the original key, for example before calling g_tree_remove().
164 Since a #GTree is automatically balanced as key/value pairs are added,
165 key lookup is very fast.
169 @lookup_key: the key to look up.
170 @orig_key: returns the original key.
171 @value: returns the value associated with the key.
172 @Returns: TRUE if the key was found in the #GTree.
174 <!-- ##### MACRO getcwd ##### -->
180 <!-- ##### MACRO getpid ##### -->
186 <!-- ##### MACRO lseek ##### -->
192 <!-- ##### MACRO open ##### -->
198 <!-- ##### MACRO pclose ##### -->
204 <!-- ##### MACRO popen ##### -->
210 <!-- ##### MACRO read ##### -->
216 <!-- ##### MACRO write ##### -->