From owner-freebsd-questions Tue Jun 27 6:55: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fep02-svc.mail.telepac.pt (fep02-svc.mail.telepac.pt [194.65.5.201]) by hub.freebsd.org (Postfix) with ESMTP id 63E0437BF57 for ; Tue, 27 Jun 2000 06:54:58 -0700 (PDT) (envelope-from jfsasilva@mail.telepac.pt) Received: from mop35705 ([212.55.176.101]) by fep02-svc.mail.telepac.pt (InterMail vM.4.01.02.27 201-229-119-110) with SMTP id <20000627135845.QJIX5499.fep02-svc.mail.telepac.pt@mop35705> for ; Tue, 27 Jun 2000 14:58:45 +0100 Message-ID: <002101bfe03e$c6627a40$65b037d4@mop35705.telepac.pt> From: "Jorge Sa' Silva" To: Subject: help Date: Tue, 27 Jun 2000 14:51:19 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001E_01BFE047.277F0980" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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
Hi
 
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?
 
Thanks in advance
 
Jorge Sá Silva
sasilva@gcom.utad.pt
------=_NextPart_000_001E_01BFE047.277F0980-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message