X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=glib%2Fglib-unix.c;h=b26609aa729a38dde85613bab774bda2b42f2054;hb=7e92997539b481e31b5566b4885c8b5158488daa;hp=838d1e23395e05bc69dbf906bd5f40cedf4c0357;hpb=b0c3997fdd553eca363dfd0f3c4da9938800acf9;p=platform%2Fupstream%2Fglib.git diff --git a/glib/glib-unix.c b/glib/glib-unix.c index 838d1e2..b26609a 100644 --- a/glib/glib-unix.c +++ b/glib/glib-unix.c @@ -70,12 +70,13 @@ g_unix_set_error_from_errno (GError **error, * Similar to the UNIX pipe() call, but on modern systems like Linux * uses the pipe2() system call, which atomically creates a pipe with * the configured flags. The only supported flag currently is - * %FD_CLOEXEC. If for example you want to configure %O_NONBLOCK, - * that must still be done separately with fcntl(). + * FD_CLOEXEC. If for example you want to configure + * O_NONBLOCK, that must still be done separately with + * fcntl(). * - * This function does *not* take %O_CLOEXEC, it takes - * %FD_CLOEXEC as if for fcntl(); these are different on - * Linux/glibc. + * This function does *not* take O_CLOEXEC, it takes + * FD_CLOEXEC as if for fcntl(); these are + * different on Linux/glibc. * * Returns: %TRUE on success, %FALSE if not (and errno will be set). * @@ -134,8 +135,8 @@ g_unix_open_pipe (int *fds, * @error: a #GError * * Control the non-blocking state of the given file descriptor, - * according to @nonblock. On most systems this uses %O_NONBLOCK, but - * on some older ones may use %O_NDELAY. + * according to @nonblock. On most systems this uses O_NONBLOCK, but + * on some older ones may use O_NDELAY. * * Returns: %TRUE if successful * @@ -184,12 +185,13 @@ g_unix_set_fd_nonblocking (gint fd, * @signum: A signal number * * Create a #GSource that will be dispatched upon delivery of the UNIX - * signal @signum. Currently only %SIGHUP, %SIGINT, and %SIGTERM can + * signal @signum. Currently only SIGHUP, + * SIGINT, and SIGTERM can * be monitored. Note that unlike the UNIX default, all sources which * have created a watch will be dispatched, regardless of which * underlying thread invoked g_unix_signal_source_new(). * - * For example, an effective use of this function is to handle SIGTERM + * For example, an effective use of this function is to handle SIGTERM * cleanly; flushing any outstanding files, and then calling * g_main_loop_quit (). It is not safe to do any of this a regular * UNIX signal handler; your handler may be invoked while malloc() or