libpurple/eventloop.h

changeset 15997
ff97c5f69196
parent 15884
4de1981757fc
child 16238
33bf2fd32108
child 16743
1ce5ffe12e2a
child 20478
46933dc62880
equal deleted inserted replaced
15996:ac5515cbcf4a 15997:ff97c5f69196
136 * The return value and error follow getsockopt() with a level of SOL_SOCKET and an 136 * The return value and error follow getsockopt() with a level of SOL_SOCKET and an
137 * option name of SO_ERROR, and this is how the error is determined if the UI does not 137 * option name of SO_ERROR, and this is how the error is determined if the UI does not
138 * implement the input_get_error UI op. 138 * implement the input_get_error UI op.
139 * 139 *
140 * @param fd The input file descriptor. 140 * @param fd The input file descriptor.
141 * @param errno A pointer to an int which on return will have the error, or 0 if no error. 141 * @param error A pointer to an int which on return will have the error, or 0 if no error.
142 * 142 *
143 * @return 0 if there is no error; -1 if there is an error, in which case errno will be set. 143 * @return 0 if there is no error; -1 if there is an error, in which case errno will be set.
144 */ 144 */
145 int 145 int
146 purple_input_get_error(int fd, int *error); 146 purple_input_get_error(int fd, int *error);

mercurial