From owner-freebsd-questions@freebsd.org Thu Oct 1 12:19:44 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF6DFA0BDEC for ; Thu, 1 Oct 2015 12:19:44 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5A24813B6 for ; Thu, 1 Oct 2015 12:19:43 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from [192.168.1.35] (mux.fjl.org.uk [62.3.120.246]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id t91C8Wmr069826 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO) for ; Thu, 1 Oct 2015 13:08:34 +0100 (BST) (envelope-from freebsd-doc@fjl.co.uk) Message-ID: <560D2242.1010908@fjl.co.uk> Date: Thu, 01 Oct 2015 13:08:34 +0100 From: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: WTFM for system calls Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 12:19:44 -0000 It's probably obvious, but not quite obvious enough for me right now... Where's there a list of FreeBSD kernel (system) calls? I can't believe I've never needed one before - I guess I've just used UNIX calls (remembered from the 1980s) or got lucky with the manual. There's obviously man 2, but you really need to know the name of what you're looking for (or guess from the file names). I could also scan through the 'C' header files. The Developer's Manual mentions HOW to call a system call (and told me something shocking about Linux I hadn't realised). But nowhere can I find a list - preferably sorted in to sections with a summary, function number, symbolic name, and list of parameters. I'm looking for something a bit more informative than sys/syscall.h! I bet someone's going to refer me to a man page with a name everyone else knows but I couldn't guess. Counting down.... Thanks, Frank.