Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2018 17:56:36 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r328630 - head/lib/libc/gen
Message-ID:  <201801311756.w0VHuamh034865@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help

Author: jhb
Date: Wed Jan 31 17:56:36 2018
New Revision: 328630
URL: https://svnweb.freebsd.org/changeset/base/328630

Log:
  Clarify that the additional arguments to makecontext() are of type int.
  
  MFC after:	1 week
  Sponsored by:	DARPA / AFRL

Modified:
  head/lib/libc/gen/makecontext.3

Modified: head/lib/libc/gen/makecontext.3
==============================================================================
--- head/lib/libc/gen/makecontext.3	Wed Jan 31 17:36:39 2018	(r328629)
+++ head/lib/libc/gen/makecontext.3	Wed Jan 31 17:56:36 2018	(r328630)
@@ -35,7 +35,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd September 10, 2002
+.Dd January 31, 2018
 .Dt MAKECONTEXT 3
 .Os
 .Sh NAME
@@ -68,11 +68,16 @@ with the arguments provided.
 The
 .Fa argc
 argument
-must be equal to the number of additional arguments provided to
+must be equal to the number of additional arguments of type
+.Vt int
+provided to
 .Fn makecontext
-and also equal to the number of arguments to
-.Fn func ,
-or else the behavior is undefined.
+and also equal to the number of arguments of type
+.Vt int
+to
+.Fn func ;
+otherwise ,
+the behavior is undefined.
 .Pp
 The
 .Fa "ucp->uc_link"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801311756.w0VHuamh034865>