libc: Add remove() stub
This commit is contained in:
parent
81c337cf9a
commit
6dc51abfc8
@ -145,6 +145,8 @@ extern "C"
|
|||||||
* of the last error encountered during a call to a system or library function. */
|
* of the last error encountered during a call to a system or library function. */
|
||||||
void perror(const char* str);
|
void perror(const char* str);
|
||||||
|
|
||||||
|
int remove(const char* pathname); // Not implemented.
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -43,4 +43,8 @@ extern "C"
|
|||||||
if (s && *s) { fprintf(stderr, "%s: ", s); }
|
if (s && *s) { fprintf(stderr, "%s: ", s); }
|
||||||
fprintf(stderr, "%s\n", strerror(savederr));
|
fprintf(stderr, "%s\n", strerror(savederr));
|
||||||
}
|
}
|
||||||
|
int remove(const char*)
|
||||||
|
{
|
||||||
|
NOT_IMPLEMENTED("remove");
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user