1 /* std.c - compensate for a few missing library functions.
2 In the Public Domain; written by Mike Haertel. */
9 DEFUN(memmove
, (d
, s
, n
), PTR d AND PTRCONST s AND
size_t n
)
16 if (dd
> ss
&& dd
< ss
+ n
)
28 #endif /* X_memmove */
31 #if defined(unix) || defined(__unix__)
33 DEFUN(remove
, (filename
), const char *filename
)
35 extern int EXFUN(unlink
, (const char *));
37 return unlink(filename
);
40 #endif /* X_strerror */
43 #if defined(unix) || defined(__unix__)
45 DEFUN(strerror
, (errnum
), int errnum
)
48 extern char *sys_errlist
[];
50 if (errnum
> 0 && errnum
< sys_nerr
)
51 return sys_errlist
[errnum
];
55 #endif /* X_strerror */