Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 1999 23:19:05 +0100
From:      Gary Jennejohn <garyj@peedub.muc.de>
To:        "Md. Ahsan Habib" <mhabib@vt.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: writing in /dev/kmem 
Message-ID:  <199901282219.XAA38762@peedub.muc.de>
In-Reply-To: Your message of "Thu, 28 Jan 1999 13:31:49 EST." <000201be4aec$ebc66e60$6f29ad80@briar.cs.vt.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
"Md. Ahsan Habib" writes:
>Hi
>I am doing some experiments in FreeBSD platform. I need to write in =
>/dev/kmem. I can open it using open system call, I can change the =
>pointer inside it using lseek but when I am trying to write something in =
>it using write system call the write always returns -1. I do not know =
>what's the problem. I will appreciate any  help regarding this.
>

what does perror show ? This would help to narrow down the cause of the
error.

---
Gary Jennejohn
Home - garyj@muc.de
Work - garyj@fkr.dec.com



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?199901282219.XAA38762>