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

Re: [MacPerl] O_RDWR | O_CREAT



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At 10:20 AM -0700 6/15/98, Vicki Brown wrote:

}
} I can't find sub declarations.  Are they subs?  Or something else?
}
} I'm coming at these from a different prespective.  I know C (under Unix,
} Jeff, only under Unix :-) But this is a Mac and I don't have any C include
} files or any of that header environment installed, so, how does this work?
} Since there is no sys/fcntl.h on a Mac, I'd really appreciate some brief
} explanation of how these actually get set / are implemented under MacPerl.
} I'm getting a little confused trying to track through the code...

Find file is your friend... If you search for "Fcntl", you'll find the
shared library sitting in your auto folder.  Matthias doesn't include the
.xs for this, but if I assume it's the same idea as Socket.xs, which I have
looked at.  It basically just "asks C" when the lib is compiled for the
appropriate numerical values for all the constants, so that it gets them
right for your particular OS.

Go to CPAN and download a copy of the Perl distribution.  It's got to be in
there.  (I'd look, since I compiled _67 yesterday, but that half of my big
drive is impossible to access from MacOS without major messing around, and
Goddard is having network trouble again...)

}
} -V
} ---
} Vicki Brown, vlb@cfcl.com        |\      _,,,---,,_
} Journeyman Sourceror      ZZZzz /,`.-'`'    -.  ;-;;,_
} Scripts & Philtres             |,4-  ) )-,_. ,\ (  `'-'
} http://www.cfcl.com/~vlb      '---''(_/--'  `-'\_)
} P.O. Box 1269 San Bruno, CA  94066


- -----
Paul J. Schinder
schinder@pobox.com

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBNYZhw1ZaVc52j0XhEQJJ/ACeLN4L0/OA3C4wCqfT4oIoLHVsGacAnjZK
PNS5N9sPBQ5Gbmj54681aKlF
=ruk3
-----END PGP SIGNATURE-----

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch