2 .\" Title: \fBmysql_waitpid\fR
3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
6 .\" Manual: MySQL Database System
10 .TH "\FBMYSQL_WAITPID\FR" "1" "11/04/2013" "MySQL 5\&.1" "MySQL Database System"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
32 mysql_waitpid \- kill process and wait for its termination
34 .HP \w'\fBmysql_waitpid\ [\fR\fB\fIoptions\fR\fR\fB]\ \fR\fB\fIpid\fR\fR\fB\ \fR\fB\fIwait_time\fR\fR\ 'u
35 \fBmysql_waitpid [\fR\fB\fIoptions\fR\fR\fB] \fR\fB\fIpid\fR\fR\fB \fR\fB\fIwait_time\fR\fR
39 signals a process to terminate and waits for the process to exit\&. It uses the
41 system call and Unix signals, so it runs on Unix and Unix\-like systems\&.
51 shell> \fBmysql_waitpid [\fR\fB\fIoptions\fR\fR\fB] \fR\fB\fIpid\fR\fR\fB \fR\fB\fIwait_time\fR\fR
58 sends signal 0 to the process identified by
62 seconds for the process to terminate\&.
66 must be positive integers\&.
68 If process termination occurs within the wait time or the process does not exist,
70 returns 0\&. Otherwise, it returns 1\&.
74 system call cannot handle signal 0,
76 uses signal 1 instead\&.
79 supports the following options:
89 .\" mysql_waitpid: help option
90 .\" help option: mysql_waitpid
95 Display a help message and exit\&.
106 .\" mysql_waitpid: verbose option
107 .\" verbose option: mysql_waitpid
111 Verbose mode\&. Display a warning if signal 0 could not be used and signal 1 is used instead\&.
122 .\" mysql_waitpid: version option
123 .\" version option: mysql_waitpid
127 Display version information and exit\&.
132 Copyright \(co 1997, 2013, Oracle and/or its affiliates. All rights reserved.
134 This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
136 This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
138 You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
141 For more information, please refer to the MySQL Reference Manual,
142 which may already be installed locally and which is also available
143 online at http://dev.mysql.com/doc/.
145 Oracle Corporation (http://dev.mysql.com/).