Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2018 22:39:47 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r330133 - in stable: 10/lib/libc/gen 11/lib/libc/gen
Message-ID:  <201802282239.w1SMdlTu012024@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Wed Feb 28 22:39:47 2018
New Revision: 330133
URL: https://svnweb.freebsd.org/changeset/base/330133

Log:
  MFC 328630:
  Clarify that the additional arguments to makecontext() are of type int.

Modified:
  stable/10/lib/libc/gen/makecontext.3
Directory Properties:
  stable/10/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/11/lib/libc/gen/makecontext.3
Directory Properties:
  stable/11/   (props changed)

Modified: stable/10/lib/libc/gen/makecontext.3
==============================================================================
--- stable/10/lib/libc/gen/makecontext.3	Wed Feb 28 22:33:07 2018	(r330132)
+++ stable/10/lib/libc/gen/makecontext.3	Wed Feb 28 22:39:47 2018	(r330133)
@@ -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?201802282239.w1SMdlTu012024>