site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=uSp7P/Gy5X4kt6yBBqbi1vloQHaDYnJG8pPnjwVWxFo=; b=gjhyP1+/YtqlQ9ZNsa+5oNgOTb7cPDMj7eOFppyrpsdwEzh6Q/ouf39tkHLYwAcBKp kHIUmH3c8Aa+ozi+ALgTShWKVVf29YsE3G57tWTZdlKbJQ4tDmLw0RYniSGEdpwzenSr MhJEjYjafsg5Gu/QvRc600BMSCPdF6ji40EbE= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=mWqpkCUsdPvRLSBB2WLbvDYloQNpkMVVomG4VmDB3p05aVDYWxJeaDHR5em9EDNj17 HYeCGKEyDCvbLRH5+jqlB03EpbGqJxAoMxAYLuRVBpc7+U/2ZC9mMBzhUC2lZ+ZOmhkx AkC0kV8dm6d10iAZfbNwiYIhrKQffsF+t9bDU= On Jan 16, 2009, at 8:25 PM, Jason Coco wrote: I'll go dig through the kernel sources in the meantime. Thanks, Joel --- http://twitter.com/wagerlabs _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... It's a syscall, so it's only a stub in libc. It's actually defined in the kernel (the xnu module). A follow-up question then... under what conditions can fstat return EINVAL (invalid argument)? I can call fstat for stdin, stdout and stderr just fine but as soon as I give it my fd (opened read-only), it gives me an error. This email sent to site_archiver@lists.apple.com