Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2000 14:51:19 +0100
From:      "Jorge Sa' Silva" <jfsasilva@mail.telepac.pt>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   help
Message-ID:  <002101bfe03e$c6627a40$65b037d4@mop35705.telepac.pt>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_001E_01BFE047.277F0980
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi
=20
I would like to send an integer value from an application to a kernel =
function, and I tried to use a file: the application creates the file, =
puts the integer value in the file and closes the file. The kernel =
function opens the file and reads the integer value. I tried to use =
open, close, read and write functions but I had problems. Do you think =
it is possible to use them? Do you have a better solution?
=20
Thanks in advance
=20
Jorge S=E1 Silva
sasilva@gcom.utad.pt

------=_NextPart_000_001E_01BFE047.277F0980
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV><FONT color=3D#000000 size=3D2>Hi</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>I would like to send an integer =
value from an=20
application to a kernel function, and I tried to use a file: the =
application=20
creates the file, puts the integer value in the file and closes the =
file. The=20
kernel function opens the file and reads the integer value. I tried to =
use open,=20
close, read and write functions but I had problems. Do you think it is =
possible=20
to use them? Do you have a better solution?</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Thanks in advance</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Jorge S&aacute; Silva</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2><A=20
href=3D"mailto:sasilva@gcom.utad.pt">sasilva@gcom.utad.pt</A></FONT></DIV=
></DIV></BODY></HTML>

------=_NextPart_000_001E_01BFE047.277F0980--



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002101bfe03e$c6627a40$65b037d4>