1 <!-- ##### USER_FUNCTION GCompareFuncData ##### -->
11 <!-- ##### USER_FUNCTION GCompletionStrcmpFunc ##### -->
20 <!-- ##### MACRO access ##### -->
26 <!-- ##### MACRO close ##### -->
32 <!-- ##### MACRO fdopen ##### -->
38 <!-- ##### FUNCTION g_convert_error_quark ##### -->
45 <!-- ##### FUNCTION g_main_add_poll ##### -->
47 Adds a file descriptor to be polled.
48 This is usually combined with g_source_add() to add an event source.
49 The event source's check function will typically test the revents
50 field in the #GPollFD struct and return TRUE if events need to be processed.
53 @fd: a #GPollFD, which is a file descriptor together with a bitwise
54 combination of #GIOCondition flags determining which events to poll for.
55 @priority: the priority of the poll, which should be the same as the priority
56 used for g_source_add() to ensure that the file descriptor is polled whenever
57 the results may be needed.
58 See #G_PRIORITY_DEFAULT, #G_PRIORITY_DEFAULT_IDLE, #G_PRIORITY_HIGH,
59 #G_PRIORITY_HIGH_IDLE, and #G_PRIORITY_LOW.
61 <!-- ##### FUNCTION g_main_loop_destroy ##### -->
68 <!-- ##### FUNCTION g_main_remove_poll ##### -->
70 Removes a file descriptor from the list being polled.
73 @fd: the #GPollFD to remove.
75 <!-- ##### FUNCTION g_main_win32_get_poll_func ##### -->
82 <!-- ##### FUNCTION g_mem_check ##### -->
84 Checks if the given memory has already been freed. If it has it outputs
86 To use this function you must configure glib with the flag
87 '--enable-mem-check=yes' before compiling.
90 @mem: the memory to check.
92 <!-- ##### FUNCTION g_source_add ##### -->
106 <!-- ##### FUNCTION g_source_connect ##### -->
116 <!-- ##### FUNCTION g_source_connect_indirect ##### -->
125 <!-- ##### FUNCTION g_source_remove_by_source_data ##### -->
127 Removes the first event source found with the given source data.
130 Event sources are sorted with the highest priority first. Sources with equal
131 priority are stored in the order in which they were added.
134 @source_data: the source data, which contains information specific to the
136 @Returns: TRUE if an event source was found and removed.
138 <!-- ##### MACRO g_string ##### -->
140 Turns the argument into a string literal by using the '#' stringizing operator.
143 @x: text to convert to a literal string.
145 <!-- ##### MACRO getcwd ##### -->
151 <!-- ##### MACRO getpid ##### -->
157 <!-- ##### MACRO lseek ##### -->
163 <!-- ##### MACRO open ##### -->
169 <!-- ##### MACRO pclose ##### -->
175 <!-- ##### MACRO popen ##### -->
181 <!-- ##### MACRO read ##### -->
187 <!-- ##### MACRO write ##### -->