1 <!-- ##### USER_FUNCTION GCompletionStrcmpFunc ##### -->
10 <!-- ##### MACRO access ##### -->
16 <!-- ##### MACRO close ##### -->
22 <!-- ##### MACRO fdopen ##### -->
28 <!-- ##### FUNCTION g_convert_error_quark ##### -->
35 <!-- ##### FUNCTION g_main_add_poll ##### -->
37 Adds a file descriptor to be polled.
38 This is usually combined with g_source_add() to add an event source.
39 The event source's check function will typically test the revents
40 field in the #GPollFD struct and return TRUE if events need to be processed.
43 @fd: a #GPollFD, which is a file descriptor together with a bitwise
44 combination of #GIOCondition flags determining which events to poll for.
45 @priority: the priority of the poll, which should be the same as the priority
46 used for g_source_add() to ensure that the file descriptor is polled whenever
47 the results may be needed.
48 See #G_PRIORITY_DEFAULT, #G_PRIORITY_DEFAULT_IDLE, #G_PRIORITY_HIGH,
49 #G_PRIORITY_HIGH_IDLE, and #G_PRIORITY_LOW.
51 <!-- ##### FUNCTION g_main_loop_destroy ##### -->
58 <!-- ##### FUNCTION g_main_remove_poll ##### -->
60 Removes a file descriptor from the list being polled.
63 @fd: the #GPollFD to remove.
65 <!-- ##### FUNCTION g_main_win32_get_poll_func ##### -->
72 <!-- ##### FUNCTION g_mem_check ##### -->
74 Checks if the given memory has already been freed. If it has it outputs
76 To use this function you must configure glib with the flag
77 '--enable-mem-check=yes' before compiling.
80 @mem: the memory to check.
82 <!-- ##### FUNCTION g_source_add ##### -->
96 <!-- ##### FUNCTION g_source_connect ##### -->
106 <!-- ##### FUNCTION g_source_connect_indirect ##### -->
115 <!-- ##### FUNCTION g_source_remove_by_source_data ##### -->
117 Removes the first event source found with the given source data.
120 Event sources are sorted with the highest priority first. Sources with equal
121 priority are stored in the order in which they were added.
124 @source_data: the source data, which contains information specific to the
126 @Returns: TRUE if an event source was found and removed.
128 <!-- ##### MACRO g_string ##### -->
130 Turns the argument into a string literal by using the '#' stringizing operator.
133 @x: text to convert to a literal string.
135 <!-- ##### MACRO getcwd ##### -->
141 <!-- ##### MACRO getpid ##### -->
147 <!-- ##### MACRO lseek ##### -->
153 <!-- ##### MACRO open ##### -->
159 <!-- ##### MACRO pclose ##### -->
165 <!-- ##### MACRO popen ##### -->
171 <!-- ##### MACRO read ##### -->
177 <!-- ##### MACRO write ##### -->