Next: , Previous: , Up: Reference manual   [Contents][Index]


7.6 Package FL.PORT

This package should contain the implementation-dependent parts of Femlisp with the exception of the MOP. It serves a similar purpose as the PORT module in CLOCC and is somewhat inspired by this module. It will be dropped when there is a portable and easily installable alternative in all CL implementations we are interested in

Function: COMPILE-AND-EVAL SOURCE

Compiles and evaluates the given source. This should be an ANSI compatible way of ensuring method compilation.

Function: COMPILE-SILENTLY NAME SOURCE

Compiles source silently.

Macro: DEF-FUNCTION &REST ARGS

Defines a foreign function. See examples in alien;src;superlu.lisp.

Function: DYNAMIC-SPACE-SIZE

Available memory for calculations

Function: FINALIZE OBJ FUNC

Sets up func as finalizer for obj.

Function: FIND-EXECUTABLE NAME

Finds an executable in the current path.

Function: FIND-SHARED-LIBRARY NAME

Finds a shared library.

Function: FOREIGN-CALL FUNCTION &REST ARGS

Ensures a safe environment for a foreign function call, especially so that no GC changes array pointers obtained by vector-sap.

Function: GETENV VAR

Return the value of the environment variable.

Function: HOSTNAME

Returns the hostname.

Function: KILL-PROCESS PROCESS

Kills the given process

Function: LOAD-FOREIGN-LIBRARY FILE

Loads the foreign library file.

Function: MAKE-WEAK-POINTER OBJ

Creates a weak pointer pointing to obj.

Function: PROCESS-CLOSE PROCESS

Closes process.

Function: PROCESS-ERROR PROCESS

Process-output for process.

Function: PROCESS-EXIT-CODE PROCESS

Returns the status of process.

Function: PROCESS-INPUT PROCESS

Process-input for process.

Function: PROCESS-OUTPUT PROCESS

Process-output for process.

Function: PROCESS-STATUS PROCESS

Returns the status of process.

Function: RUN-PROGRAM PROGRAM ARGS &KEY WAIT DIRECTORY (SEARCH T) INPUT (OUTPUT NIL OUTPUT-P) ERROR-OUTPUT

Runs program with arguments args.

Function: RUN-PROGRAM-OUTPUT PROGRAM ARGS &REST KEYS &KEY &ALLOW-OTHER-KEYS

Returns a list of all lines of the output of RUN-PROGRAM when called with the arguments PROGRAM and ARGS.

Function: RUNTIME-COMPILE SOURCE

Calls compile on the provided source. When :compile is activated for debugging, the source code is printed.

Function: SAVE-FEMLISP-CORE-AND-DIE &OPTIONAL CORE-FILE-NAME

Saves Femlisp core and quits.

Function: UNIX-CHDIR PATH

Change the directory to path.

Function: VECTOR-SAP PTR

Returns an array pointer which can be used in a foreign call.

Function: WEAK-POINTER-VALUE WP

Returns the value of the weak pointer wp.


Next: , Previous: , Up: Reference manual   [Contents][Index]