[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
file_notice_changes RPC
From: |
Wolfgang Jährling |
Subject: |
file_notice_changes RPC |
Date: |
Fri, 10 May 2002 07:37:39 +0200 |
User-agent: |
Mutt/1.0.1i |
Hi!
I tried to use the file_notice_changes() RPC. First, I created a port:
err = mach_port_allocate (mach_task_self (),
MACH_PORT_RIGHT_RECEIVE,
¬ify_port);
Then I opened a file on an ext2 file system:
file = file_name_lookup ("foo", 0, 0);
But when I tried to request notification messages with
err = file_notice_changes (file, notify_port, MACH_PORT_TYPE_SEND);
this failed with "(ipc/mig) server type check failure". What am I doing
wrong?
Thanks,
GNU/Wolfgang
--
Wolfgang Jährling <wolfgang@pro-linux.de> \\ http://stdio.cjb.net/
Debian GNU/Hurd user && Debian GNU/Linux user \\ http://www.gnu.org/
The Hurd Hacking Guide: http://www.gnu.org/software/hurd/hacking-guide/
["We're way ahead of you here. The Hurd has always been on the ]
[ cutting edge of not being good for anything." -- Roland McGrath ]
- file_notice_changes RPC,
Wolfgang Jährling <=