NAME

mac - Macintosh Utility Routines for ImageMagick


SYNOPSIS

closedir(entry)

readdir(entry)

systemMAC(command)

telldir(entry)


FUNCTION DESCRIPTIONS


closedir

Function closedir closes the named directory stream and frees the DIR structure.

The format of the closedir routine is:

        closedir(entry)

A description of each parameter follows:

o entry:
Specifies a pointer to a DIR structure.


MacGSExecuteCommand

Function MacGSExecuteCommand executes the Ghostscript command.


MacGSLaunchApplicationCore

Function MacGSExecuteCommand launches the Ghostscript command.


MacGSLaunchApplication

Function MacGSLaunchApplication launches the Ghostscript command.


MacGSLaunchApplicationToFront

Function MacGSLaunchApplicationToFront moves the Ghostscript window to the front.


MacGSQuitApplication

Function MacGSQuitApplication quits the Ghostscript application.


MacGSSetWorkingFolder

Function MacGSSetWorkingFolder set the Ghostscript working folder.


openedir

Function opendir opens the directory named by filename and associates a directory stream with it.

The format of the opendir routine is:

    opendir(entry)

A description of each parameter follows:

o entry:
Specifies a pointer to a DIR structure.


readdir

Function readdir returns a pointer to a structure representing the directory entry at the current position in the directory stream to which entry refers.

The format of the readdir

        readdir(entry)

A description of each parameter follows:

o entry:
Specifies a pointer to a DIR structure.


SearchForFile

Function SearchForFile searches for a file.


seekdir

 Function seekdir sets the position of the next readdir() operation

 on the directory stream.

The format of the seekdir routine is:

    closedir(entry,position)

A description of each parameter follows:

o entry:
Specifies a pointer to a DIR structure.

o position:
specifies the position associated with the directory stream.


systemMAC

 Function systemMAC executes the specified command and waits until it

 terminates.  The returned value is the exit status of the command.

The format of the systemMAC routine is:

        systemMAC(command)

A description of each parameter follows:

o command:
This string is the command to execute.


telldir

 Function telldir returns the current location associated  with  the

 named directory stream.

The format of the telldir routine is:

        telldir(entry)

A description of each parameter follows:

o entry:
Specifies a pointer to a DIR structure.