Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 1998 14:16:15 -0700 (PDT)
From:      Archie Cobbs <archie@whistle.com>
To:        jasone@canonware.com (Jason Evans)
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: raw devices (min transfer size, detection)
Message-ID:  <199806262116.OAA01225@bubba.whistle.com>
In-Reply-To: <Pine.BSF.3.96.980626001654.18178B-100000@orkan.canonware.com> from Jason Evans at "Jun 26, 98 00:47:26 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Jason Evans writes:
> 2) How can I programmatically (in C) know that a file is a device, and
>    more specifically a raw device?  I've browsed a large number of
>    manpages, but I still haven't found the answer.  I'll eventually find
>    it, but perhaps someone can point me in the right direction? =)

man stat(2) for starters..

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806262116.OAA01225>