aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCyril Hrubis <chrubis@suse.cz>2014-05-27 14:07:40 +0200
committerCyril Hrubis <chrubis@suse.cz>2014-05-27 14:09:55 +0200
commitc45ea22806419b39bba18110478bc39eaa8c62cb (patch)
treeb1e33aa937c917707ce25b2de1159b8f0be86c83 /doc
parentee99a354878e8ebe545961422fbd5ed1ca5b12cd (diff)
usctest.h: Remove unused TEST_PAUSEF macro
Looking at the code, it would fail to link anyway (because there doesn't seem to be declared _TMP_FUNC anywhere in the libltp). Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Diffstat (limited to 'doc')
-rw-r--r--doc/man3/usctest.317
1 files changed, 6 insertions, 11 deletions
diff --git a/doc/man3/usctest.3 b/doc/man3/usctest.3
index c3a838817..df3c5ad12 100644
--- a/doc/man3/usctest.3
+++ b/doc/man3/usctest.3
@@ -45,8 +45,6 @@ char *\fBparse_opts(\fI...\fB)\fR
.br
\fBTEST_PAUSE\fR
.br
-\fBTEST_PAUSEF(\fIhand\fB)\fR
-.br
\fBTEST(\fIsyscall\fB)\fR
.br
.\"\fBTEST_CALLER(\fIsyscall\fB, \fIpid\fB)\fR
@@ -77,11 +75,6 @@ The \fBTEST_PAUSE\fR macro checks if the global variable STD_PAUSE is set. If s
pauses for a SIGUSR1 before continuing execution. The signal handler used does nothing.
After the signal is processed, the previous action is replaced for SIGUSR1.
.sp
-The \fBTEST_PAUSEF(\fIhand\fB)\fR macro checks if the global variable STD_PAUSE is set. If so, it
-pauses for a SIGUSR1 before continuing execution. The \fIhand\fR argument is a function to be used
-to handle the SIGUSR1 signal when it is received.
-After the signal is processed, the previous action is replaced for SIGUSR1.
-.sp
The \fBTEST(\fIsyscall\fB)\fR macro executes (\fIsyscall\fR) and times its execution.
It saves the max time, min time, accumulated time, and
execution count, if STD_TIMING_ON is set.
@@ -163,7 +156,9 @@ int main(int argc, char *argv[])
parse_opts(3).
.SH "RETURN VALUES"
-The TEST_LOOPING macro evaluates to TRUE (1) or FALSE (0), and is intended for use in while or
-for loops. The TEST macro places the return value from \fIsyscall\fR in the global variable TEST_RETURN
-and the errno in the global variable TEST_ERRNO. The \fBTEST_PAUSE\fR, \fBTEST_PAUSEF\fR,
-\fBTEST_CLEANUP\fR, \fBTEST_ERROR_LOG\fR, and \fBTEST_EXP_ENOS\fR macros do not have any return values.
+The TEST_LOOPING macro evaluates to TRUE (1) or FALSE (0), and is intended for
+use in while or for loops. The TEST macro places the return value from
+\fIsyscall\fR in the global variable TEST_RETURN and the errno in the global
+variable TEST_ERRNO. The \fBTEST_PAUSE\fR, \fBTEST_CLEANUP\fR,
+\fBTEST_ERROR_LOG\fR, and \fBTEST_EXP_ENOS\fR macros do not have any return
+values.