Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jun 2005 21:59:20 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-stable@freebsd.org, Hannes Mayer <debiandude@gmail.com>
Subject:   Re: Kernel module/IPC with userland: create and write to FIFO
Message-ID:  <200506172159.34920.doconnor@gsoft.com.au>
In-Reply-To: <bedc2e38050617050624a7ff2e@mail.gmail.com>
References:  <bedc2e38050617050624a7ff2e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart9647713.85FnN0jHxR
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Fri, 17 Jun 2005 21:36, Hannes Mayer wrote:
> To cut a long story short, how can I open a FIFO in kernel space and
> write to it, so I can open and read from it in userspace ?

Why don't you create a device node?

If you read and write to it, it acts like a FIFO.

=2D-=20
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

--nextPart9647713.85FnN0jHxR
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQBCssIu5ZPcIHs/zowRAkTqAJwNehCBLsPXFgBlm43DA69uSigrRgCeMjU5
+O6qNBqj6FiRucSBssCsWhk=
=dQM3
-----END PGP SIGNATURE-----

--nextPart9647713.85FnN0jHxR--



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