From a10ea39eca56cfd12a4f5e9a1e4691084d0b1696 Mon Sep 17 00:00:00 2001 From: jhb Date: Wed, 28 Feb 2018 22:39:47 +0000 Subject: [PATCH] MFC 328630: Clarify that the additional arguments to makecontext() are of type int. git-svn-id: svn://svn.freebsd.org/base/stable/10@330133 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- lib/libc/gen/makecontext.3 | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/lib/libc/gen/makecontext.3 b/lib/libc/gen/makecontext.3 index ad55e7abc..286a4be99 100644 --- a/lib/libc/gen/makecontext.3 +++ b/lib/libc/gen/makecontext.3 @@ -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" -- 2.42.0