[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Using the Resource Mangler from MacPerl



Matthias writes on Sat, 29 Mar 1997 06:13:42 +0100:

>Anticipating this question (and reacting to a simpler request from Peter
>Lewis, I recently introduced the O_RSRC flag into the Fcntl module. Specifying
>O_RSRC for POSIX::open opens the resource fork.

Am I doing the right sort of thing here?

        $fd = POSIX::open($path, O_RSRC, 0666);
        POSIX::read($fd, $buf, 1024);

I don't seem to get anything in '$buf...

Alan