Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 May 1995 18:07:12 -0400 (EDT)
From:      Peter Dufault <dufault@hda.com>
To:        hackers@FreeBSD.org
Subject:   what's in ioctl flag arg?
Message-ID:  <199505022207.SAA00880@hda.com>

next in thread | raw e-mail | index | archive | help
What's in the ioctl flag arg?  I hope it is a copy of the
flag passed in to the open(), but I can't find where it gets
set up and I'm not sure if it gets translated into an "F_"
thing instead.

Is this how I verify that you can't write to a file in the ioctl call:

(flag & O_ACCMODE) == O_RDONLY

Peter

-- 
Peter Dufault               Real Time Machine Control and Simulation
HD Associates, Inc.         Voice: 508 433 6936
dufault@hda.com             Fax:   508 433 5267



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