From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 3 11:26:04 2010 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 C9314106568B for ; Wed, 3 Feb 2010 11:26:04 +0000 (UTC) (envelope-from stefan.midjich@gmail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id 5B59F8FC14 for ; Wed, 3 Feb 2010 11:26:04 +0000 (UTC) Received: by ewy3 with SMTP id 3so1163601ewy.13 for ; Wed, 03 Feb 2010 03:26:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=YVkw88wAh192oPFTW71sVcjElyovU9mjElc6OhIkaAM=; b=XzuCNUA9KTJBxQS9gs8wdKYHh6v6J6S7AkK/g2zScqfKkYBtUZ9Kk/VY8Tu+F4GmBW GMx3q7xE31CUpTYGDOiJM4lkCGVWgN0vW0VC5EFz1KUaXRzi2DznuJNlg9Usggl5lv8u Pj9eLeVtRb76w5DxT+v5k69SvZr52WEVOqdbw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:date:x-google-sender-auth:message-id :subject:from:to:content-type; b=SWy9dL9YJy4F7K9uthb+l79G3y/RXokcEEOeOxVb+r54EVl94RgHPP0s7WrZxD7vp4 9eDIXwR36Z9zBkMtqu5mwtBw3BlGhmxBkLC/djVN/dek7ez/HFNKfaTyoU+5nsO30dJ/ k3GVcw9p5ZtgN1JH5EmUxnIvwm6Sk53p8JjEE= MIME-Version: 1.0 Sender: stefan.midjich@gmail.com Received: by 10.213.1.18 with SMTP id 18mr2129802ebd.17.1265196362602; Wed, 03 Feb 2010 03:26:02 -0800 (PST) Date: Wed, 3 Feb 2010 12:26:02 +0100 X-Google-Sender-Auth: 4d5242d185c5bb30 Message-ID: From: Stefan Midjich To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Does getc(3) use the read(2) syscall? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: swehack@gmail.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2010 11:26:04 -0000 I'm having trouble looking this function up in the source tree, the trail seems to end at __sys_read which has a bunch of prototypes but i can't find the actual function code. So my question is primarily, does getc use the read system call eventually? But i would also love it if someone could show me where __sys_read is defined. Thanks in advance for any information! --=20 Med v=E4nliga h=E4lsningar / With kind regards Stefan Midjich http://swehack.se/cv https://www.swehack.se/cv