From 9576fcb64fc71f62e34a7f26b117100e9f2b1168 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 8 Sep 2009 06:02:48 +0000 Subject: slight corrections from what dlg just commited --- share/man/man9/mutex.9 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'share/man') diff --git a/share/man/man9/mutex.9 b/share/man/man9/mutex.9 index 47687e1cb3b..f1dd05cb9ab 100644 --- a/share/man/man9/mutex.9 +++ b/share/man/man9/mutex.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mutex.9,v 1.10 2009/09/08 05:58:35 dlg Exp $ +.\" $OpenBSD: mutex.9,v 1.11 2009/09/08 06:02:47 deraadt Exp $ .\" .\" Copyright (c) 2005 Pedro Martelletto .\" All rights reserved. @@ -22,6 +22,7 @@ .Nm mutex , .Nm mtx_init , .Nm mtx_enter , +.Nm mtx_enter_try , .Nm mtx_leave .Nd interface to CPU mutexes .Sh SYNOPSIS @@ -56,7 +57,7 @@ function acquires a mutex, spinning if necessary. The .Fn mtx_enter_try function attempts to acquire a mutex. -If it succeeds in acquiring the mutex it will return 1, otherwise +If it succeeds in acquiring the mutex it will non-zero, otherwise it will return 0. .Pp The -- cgit v1.2.3