Date: Fri, 31 Jul 1998 13:44:35 -0400 From: "Brian J. McGovern" <mcgovern@spoon.beta.com> To: hackers@FreeBSD.ORG Subject: O_SHLOCK and O_EXLOCK during open... (locking for devices?) Message-ID: <199807311744.NAA13956@spoon.beta.com>
next in thread | raw e-mail | index | archive | help
Yup, me again with another dumb programming question.... I seem to be running in to problems when opeing up a device special file with either O_SHLOCK or O_EXLOCK. I get an error back (45) that the operation is not supported. My question, then, is, how can I lock, lets say a serial port, without having to go the route of lock-file creation, as many applications ignore these files anyhow? -Brian 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?199807311744.NAA13956>