Hi,
<[EMAIL PROTECTED]> writes:
> Actually, most people will consider it easier to use it from a C program
> as well: For one, it means that you can use the *same* knowledge for
> doing stuff on the shell, and for writing C programs. That's a very
> valuable property IMHO.
Isn't it easier to write:
port = hurd_file_name_lookup ("/stuff", ...);
do_foo (port);
than:
int fd;
fd = open ("/stuff/ctl", ...);
if (fd < 0)
...
count = write (fd, "do_foo", 6);
if (count < 6)
...
close (fd);
Of course, you could provide the latter as a `do_foo ()' function in the
library, but then, you'd pay the overhead for the textual representation
without even seeing it.
Thanks,
Ludovic.