mac - Macintosh Utility Routines for ImageMagick
closedir(entry)
readdir(entry)
systemMAC(command)
telldir(entry)
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.
Function MacGSExecuteCommand executes the Ghostscript command.
Function MacGSExecuteCommand launches the Ghostscript command.
Function MacGSLaunchApplication launches the Ghostscript command.
Function MacGSLaunchApplicationToFront moves the Ghostscript window to the
front.
Function MacGSQuitApplication quits the Ghostscript application.
Function MacGSSetWorkingFolder set the Ghostscript working folder.
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.
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.
Function SearchForFile searches for a file.
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.
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.
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.