[comp.lang.pascal] UNIX calls.

miller@loral.UUCP (BIG DAVE) (10/20/89)

I'm quite new to this group, and I guess this subject has been covered here,
but I've never seen it posted (even cross posted). I'm looking for a way
to make 4.3BSD Unix calls from programs written in ANSI/IEEE Pascal.
I'd appreciated if anyone out there can share such information with me, or
even give an idea where to go look to find it.


                         Thanks in advance,  BIG DAVE.

bigelow@hpfcso.HP.COM (Jim Bigelow) (10/24/89)

I can't think of how to do a call to another language, C is this C, from and
ansi pascal program.  Hp's pascal allows a keyword "external", as does Berkley 
pascal.  Once can write an pascal definition of the required C routine, declare
it external, and then let the link pull in the C routine. 

Good luck,

Jim Bigelow
Hp9000/S300 pascal
Hewlett Packard
Ft. Collins, CO