summaryrefslogtreecommitdiffstats
path: root/share/man/man9/timeout.9
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-03-19 03:18:01 +0000
committerbde <bde@FreeBSD.org>1997-03-19 03:18:01 +0000
commit265d3730cbf43c5bcf8ccf855f92ff06ab95a52a (patch)
tree5c4f72688b503962c01ac3ef937af96711d9e8de /share/man/man9/timeout.9
parent1bdf3a269250f660f6c861ebac306d21e8ddbb73 (diff)
downloadFreeBSD-src-265d3730cbf43c5bcf8ccf855f92ff06ab95a52a.zip
FreeBSD-src-265d3730cbf43c5bcf8ccf855f92ff06ab95a52a.tar.gz
Fixed synopsis (wrong #includes and superfluous parentheses in typedef).
Nuked the confusing timeout_func_t typedef. It will go away in <systm.h> later.
Diffstat (limited to 'share/man/man9/timeout.9')
-rw-r--r--share/man/man9/timeout.913
1 files changed, 5 insertions, 8 deletions
diff --git a/share/man/man9/timeout.9 b/share/man/man9/timeout.9
index 2f67423..d13a914 100644
--- a/share/man/man9/timeout.9
+++ b/share/man/man9/timeout.9
@@ -23,7 +23,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: timeout.9,v 1.3 1997/02/22 13:26:29 peter Exp $
.\" "
.Dd April 13, 1996
.Os
@@ -33,17 +33,14 @@
.Nm untimeout
.Nd schedule timer events
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/systm.h>
-.Fd #include <sys/kernel.h>
-
-.Ft typedef void \*(lptimeout_t\*(rp \*(lpvoid *\*(rp;
-
-.Ft typedef timeout_t *timeout_func_t;
+.Ft typedef void timeout_t \*(lpvoid *\*(rp;
.Ft void
-.Fn timeout "timeout_func_t func" "void *arg" "int ticks"
+.Fn timeout "timeout_t *func" "void *arg" "int ticks"
.Ft void
-.Fn untimeout "timeout_func_t func" "void *arg"
+.Fn untimeout "timeout_t *func" "void *arg"
.Sh DESCRIPTION
The
.Nm timeout
OpenPOWER on IntegriCloud