[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Getting the port of a file name.
From: |
Alfred M. Szmidt |
Subject: |
Getting the port of a file name. |
Date: |
20 Jul 2002 17:01:30 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Hi,
Is there a function like getdport() but instead of taking an FD as an
argument, it takes a file name? I looked (quickly I might add) around
the libc sources and couldn't find anything that does this. Doing an
open() and then doing getdport() seems a bit like a kludge to me.
Oh, shouldn't getdport() (and __getdport()) be declared as:
file_t __getdport (int fd), getdport (int fd);
instead of:
io_t __getdport (int fd), getdport (int fd);
in [libc]/hurd/hurd.h?
Cheers,
--
Alfred M. Szmidt
- Getting the port of a file name.,
Alfred M. Szmidt <=