Open() system call is not able to open a character device file in Suse9

0 views
Skip to first unread message

manoj

unread,
Aug 13, 2008, 7:02:17 AM8/13/08
to Linux Experts Group - LEG
Hi all,
I am using Suse9.I am opening an existance character device file
having the following permission
crw-rwSrw- 1 root acus 0, 0 Aug 14 22:40 lcp.str.S1
with the open() system call in the following way " open
(lcp.str.S1, O_RDWR)" but always it is
throwing the error " No such device or address errno = 6".
I also tried to run this program with superuser Privilege but still
I am getting the same error.
Could anybody tell me why it is not able to access the character
device file.

Thanks & Regards
Manoj.


Reply all
Reply to author
Forward
0 new messages