Npt documentation.
Reference: ANSI Common Lisp npt
The following function specifications are described in lisp.h
.
int lisp_format8_(addr stream, const void *str, ...);
int lisp_format16_(addr stream, const void *str, ...);
int lisp_format32_(addr stream, const void *str, ...);
int lisp_stdout8_(const void *str, ...);
int lisp_stdout16_(const void *str, ...);
int lisp_stdout32_(const void *str, ...);
int lisp_stringf8_(addr x, const void *str, ...);
int lisp_stringf16_(addr x, const void *str, ...);
int lisp_stringf32_(addr x, const void *str, ...);
Functions of the format
.
int lisp_format8_(addr stream, const void *str, ...);
int lisp_format16_(addr stream, const void *str, ...);
int lisp_format32_(addr stream, const void *str, ...);
lisp_format8_
int lisp_format8_(addr stream, const void *str, ...);
int lisp_format16_(addr stream, const void *str, ...);
int lisp_format32_(addr stream, const void *str, ...);
: stream, stream or T or NULL.
Input: str, unicode string.
Input: Non-zero when escaping. Return
Call the format
function.
If stream
is NULL
, it is the same as T
.
If stream
is T
, the output will be written to *standard-output*
.
If stream
is NIL
, the string is created, but its content is discarded.
If stream
is a hold variable, the contents will be used.
See the lisp_string8_
function for details on Unicode strings.
lisp_format16_
See lisp_format8_
.
lisp_format32_
See lisp_format8_
.
Function to output to *standard-output*
.
int lisp_stdout8_(const void *str, ...);
int lisp_stdout16_(const void *str, ...);
int lisp_stdout32_(const void *str, ...);
lisp_stdout8_
int lisp_stdout8_(const void *str, ...);
int lisp_stdout16_(const void *str, ...);
int lisp_stdout32_(const void *str, ...);
: str, unicode string.
Input: Non-zero when escaping. Return
Call the format
function with *standard-output*
.
It is equivalent to lisp_format8_(NULL, str, ...)
.
See the lisp_string8_
function for details on Unicode strings.
lisp_stdout16_
See lisp_stdout8_
.
lisp_stdout32_
See lisp_stdout8_
.
Function returns the result of format
as a string.
int lisp_stringf8_(addr x, const void *str, ...);
int lisp_stringf16_(addr x, const void *str, ...);
int lisp_stringf32_(addr x, const void *str, ...);
lisp_stringf8_
int lisp_stringf8_(addr x, const void *str, ...);
int lisp_stringf16_(addr x, const void *str, ...);
int lisp_stringf32_(addr x, const void *str, ...);
: str, unicode string.
Input: x, hold variable.
Output: Non-zero when escaping. Return
Call the format
function to return a string.
It is equivalent to (format nil str ...)
.
See the lisp_string8_
function for details on Unicode strings.
lisp_stringf16_
See lisp_stringf8_
.
lisp_stringf32_
See lisp_stringf8_
.