1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-15 15:57:13 +00:00
Interlisp.maiko/inc/uutilsdefs.h
Nick Briggs 96ab979e7a
Change lisp_string_to_c_string length parameter to be size_t (#179)
The argument passed to the length parameter of lisp_string_to_c_string is
always the sizeof an array, and since it is compared to the Lisp unsigned
length of the Lisp string is more appropriately a size_t than an int.
Likewise for the index into a string.
2021-01-05 01:23:11 +00:00

12 lines
400 B
C

#ifndef UUTILSDEFS_H
#define UUTILSDEFS_H 1
int lisp_string_to_c_string(LispPTR Lisp, char *C, size_t length);
int c_string_to_lisp_string(char *C, LispPTR Lisp);
LispPTR check_unix_password(LispPTR *args);
LispPTR unix_username(LispPTR *args);
LispPTR unix_getparm(LispPTR *args);
LispPTR unix_getenv(LispPTR *args);
LispPTR unix_fullname(LispPTR *args);
LispPTR suspend_lisp(LispPTR *args);
#endif