diff options
author | 2015-09-14 13:08:01 +0000 | |
---|---|---|
committer | 2015-09-14 13:08:01 +0000 | |
commit | 358ede3705f54f4c064bf790af1a5187c9e8f07f (patch) | |
tree | c886416385d7fc240e068e8077a71064df45c31e /lib/libpthread/man/pthread_once.3 | |
parent | vax deserves gdtoa love too! (diff) | |
download | wireguard-openbsd-358ede3705f54f4c064bf790af1a5187c9e8f07f.tar.xz wireguard-openbsd-358ede3705f54f4c064bf790af1a5187c9e8f07f.zip |
use .Va for global variables, and .Vt where the type is included
Diffstat (limited to 'lib/libpthread/man/pthread_once.3')
-rw-r--r-- | lib/libpthread/man/pthread_once.3 | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/lib/libpthread/man/pthread_once.3 b/lib/libpthread/man/pthread_once.3 index 1a4a37bc991..852e41913e8 100644 --- a/lib/libpthread/man/pthread_once.3 +++ b/lib/libpthread/man/pthread_once.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pthread_once.3,v 1.14 2014/01/21 03:15:45 schwarze Exp $ +.\" $OpenBSD: pthread_once.3,v 1.15 2015/09/14 13:08:01 schwarze Exp $ .\" .\" Copyright (c) 1996 John Birrell <jb@cimlogic.com.au>. .\" All rights reserved. @@ -32,7 +32,7 @@ .\" .\" $FreeBSD: pthread_once.3,v 1.5 1999/08/28 00:03:09 peter Exp $ .\" -.Dd $Mdocdate: January 21 2014 $ +.Dd $Mdocdate: September 14 2015 $ .Dt PTHREAD_ONCE 3 .Os .Sh NAME @@ -40,12 +40,7 @@ .Nd dynamic package initialization .Sh SYNOPSIS .In pthread.h -.Pp -.Ft pthread_once_t -.Fa once_control -\&= -.Dv PTHREAD_ONCE_INIT ; -.Pp +.Vt pthread_once_t once_control No = Dv PTHREAD_ONCE_INIT ; .Ft int .Fn pthread_once "pthread_once_t *once_control" "void (*init_routine)(void)" .Sh DESCRIPTION @@ -78,7 +73,7 @@ is not a cancellation point. However, if .Fn init_routine is a cancellation point and is cancelled, the effect on -.Fa once_control +.Va once_control is as if .Fn pthread_once was never called. |