#, fuzzy msgid "" msgstr "" "Project-Id-Version: man-pages-l10n VERSION\n" "POT-Creation-Date: 2014-07-17 17:57+0900\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: man-pages/man7/sigevent.7:26 #, no-wrap msgid "SIGEVENT" msgstr "" #. type: TH #: man-pages/man7/sigevent.7:26 #, no-wrap msgid "2011-09-09" msgstr "" #. type: TH #: man-pages/man7/sigevent.7:26 #, no-wrap msgid "GNU" msgstr "" #. type: TH #: man-pages/man7/sigevent.7:26 #, no-wrap msgid "Linux Programmer's Manual" msgstr "" #. type: SH #: man-pages/man7/sigevent.7:27 #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: man-pages/man7/sigevent.7:29 msgid "sigevent - structure for notification from asynchronous routines" msgstr "" #. type: SH #: man-pages/man7/sigevent.7:29 #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: man-pages/man7/sigevent.7:36 #, no-wrap msgid "" "union sigval { /* Data passed with notification */\n" " int sival_int; /* Integer value */\n" " void *sival_ptr; /* Pointer value */\n" "};\n" msgstr "" #. type: Plain text #: man-pages/man7/sigevent.7:51 #, no-wrap msgid "" "struct sigevent {\n" " int sigev_notify; /* Notification method */\n" " int sigev_signo; /* Notification signal */\n" " union sigval sigev_value; /* Data passed with\n" " notification */\n" " void (*sigev_notify_function) (union sigval);\n" " /* Function used for thread\n" " notification (SIGEV_THREAD) */\n" " void *sigev_notify_attributes;\n" " /* Attributes for notification thread\n" " (SIGEV_THREAD) */\n" " pid_t sigev_notify_thread_id;\n" " /* ID of thread to signal (SIGEV_THREAD_ID) */\n" "};\n" msgstr "" #. type: SH #: man-pages/man7/sigevent.7:52 #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: man-pages/man7/sigevent.7:60 msgid "" "The I structure is used by various APIs to describe the way a " "process is to be notified about an event (e.g., completion of an " "asynchronous request, expiration of a timer, or the arrival of a message)." msgstr "" #. type: Plain text #: man-pages/man7/sigevent.7:68 msgid "" "The definition shown in the SYNOPSIS is approximate: some of the fields in " "the I structure may be defined as part of a union. Programs " "should employ only those fields relevant to the value specified in " "I." msgstr "" #. type: Plain text #: man-pages/man7/sigevent.7:73 msgid "" "The I field specifies how notification is to be performed. " "This field can have one of the following values:" msgstr "" #. type: TP #: man-pages/man7/sigevent.7:73 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man7/sigevent.7:76 msgid "A \"null\" notification: don't do anything when the event occurs." msgstr "" #. type: TP #: man-pages/man7/sigevent.7:76 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man7/sigevent.7:80 msgid "Notify the process by sending the signal specified in I." msgstr "" #. type: Plain text #: man-pages/man7/sigevent.7:87 msgid "" "If the signal is caught with a signal handler that was registered using the " "B(2) B flag, then the following fields are set in " "the I structure that is passed as the second argument of the " "handler:" msgstr "" #. type: TP #: man-pages/man7/sigevent.7:88 #, no-wrap msgid "I" msgstr "" #. type: Plain text #: man-pages/man7/sigevent.7:92 msgid "" "This field is set to a value that depends on the API delivering the " "notification." msgstr "" #. type: TP #: man-pages/man7/sigevent.7:92 #, no-wrap msgid "I" msgstr "" #. type: Plain text #: man-pages/man7/sigevent.7:96 msgid "" "This field is set to the signal number (i.e., the same value as in " "I)." msgstr "" #. type: TP #: man-pages/man7/sigevent.7:96 #, no-wrap msgid "I" msgstr "" #. type: Plain text #: man-pages/man7/sigevent.7:100 msgid "This field is set to the value specified in I." msgstr "" #. type: Plain text #: man-pages/man7/sigevent.7:105 msgid "" "Depending on the API, other fields may also be set in the I " "structure." msgstr "" #. type: Plain text #: man-pages/man7/sigevent.7:108 msgid "" "The same information is also available if the signal is accepted using " "B(2)." msgstr "" #. type: TP #: man-pages/man7/sigevent.7:108 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man7/sigevent.7:125 msgid "" "Notify the process by invoking I \"as if\" it were " "the start function of a new thread. (Among the implementation possibilities " "here are that each timer notification could result in the creation of a new " "thread, or that a single thread is created to receive all notifications.) " "The function is invoked with I as its sole argument. If " "I is not NULL, it should point to a " "I structure that defines attributes for the new thread (see " "B(3))." msgstr "" #. type: TP #: man-pages/man7/sigevent.7:125 #, no-wrap msgid "B (Linux-specific)" msgstr "" #. | SIGEV_SIGNAL vs not? #. type: Plain text #: man-pages/man7/sigevent.7:130 msgid "Currently used only by POSIX timers; see B(2)." msgstr "" #. type: SH #: man-pages/man7/sigevent.7:130 #, no-wrap msgid "CONFORMING TO" msgstr "" #. type: Plain text #: man-pages/man7/sigevent.7:132 msgid "POSIX.1-2001." msgstr "" #. type: SH #: man-pages/man7/sigevent.7:132 #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: man-pages/man7/sigevent.7:142 msgid "" "B(2), B(3), B(3), B(3), " "B(3), B(3), B(3), B(7), " "B(7)" msgstr "" #. type: SH #: man-pages/man7/sigevent.7:142 #, no-wrap msgid "COLOPHON" msgstr "" #. type: Plain text #: man-pages/man7/sigevent.7:150 msgid "" "This page is part of release 3.70 of the Linux I project. A " "description of the project, information about reporting bugs, and the latest " "version of this page, can be found at \\%http://www.kernel.org/doc/man-pages/" "." msgstr ""