Greetings J'ugglers,

In the last week I have set up a Linux Ubuntu box and installed J 7.01 on
it.  The JGTK version is very zippy in this environment and I am looking
forward to porting JOD to Linux systems.

JOD is 99% J with a few key WINAPI calls.  I need to find Linux equivalents
to the following WINAPI calls. I am new to Linux and unfamiliar with Linux
APIs so if any of you could provide pointers I would appreciate it.

The calls I am looking to replace are:

NB. generates a GUID with dll call
genguid=:'ole32.dll CoCreateGuid i *c'&cd

NB. returns free disk space
'kernel32 GetDiskFreeSpaceA i *c *i *i *i *i' cd y;(,0);(,0);(,0);(,0)

NB. Win32 procedure that copies files
copyfile=:'kernel32 CopyFileA i *c *c i'&cd

NB. Win32 procedure that moves/renames files
movefile=:'kernel32 MoveFileA i *c *c'&cd

-- 
John D. Baker
[email protected]
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to