From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 22 00:49:46 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA032106566B for ; Sun, 22 Feb 2009 00:49:46 +0000 (UTC) (envelope-from gerryw@compvia.com) Received: from omr1.networksolutionsemail.com (omr1.networksolutionsemail.com [205.178.146.51]) by mx1.freebsd.org (Postfix) with ESMTP id 52C078FC14 for ; Sun, 22 Feb 2009 00:49:46 +0000 (UTC) (envelope-from gerryw@compvia.com) Received: from mail.networksolutionsemail.com (ns-omr1.mgt.netsol.com [10.49.6.64]) by omr1.networksolutionsemail.com (8.13.6/8.13.6) with SMTP id n1M0YhSr023849 for ; Sat, 21 Feb 2009 19:34:43 -0500 Received: (qmail 10267 invoked by uid 78); 22 Feb 2009 00:34:43 -0000 Received: from unknown (HELO ?10.10.20.102?) (sales@compvia.com@72.177.99.161) by ns-omr1.lb.hosting.dc2.netsol.com with SMTP; 22 Feb 2009 00:34:43 -0000 Message-Id: <8AC3EBEC-71C1-4E29-9E20-680AF49626BF@compvia.com> From: Gerry Weaver To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Sat, 21 Feb 2009 18:34:42 -0600 X-Mailer: Apple Mail (2.930.3) Subject: variable args in kernel module? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2009 00:49:47 -0000 Hello All, How does one make use of variable arguments in a kernel module? It seems doable ala printf etc. I want to front end sprintf to calculate buffer size. I've been looking through the source tree, but no luck as of yet. Thanks, Gerry