Someone
public text v1 · immutablevoid *m_alloc(void *tmp, int n)
{
tmp = (void *)malloc(n);
if (tmp == NULL) {
fprintf(stderr, "ERRORE: memoria insufficiente.\n");
exit (1);
}
return (tmp);
} void *m_alloc(void *tmp, int n)
{
tmp = (void *)malloc(n);
if (tmp == NULL) {
fprintf(stderr, "ERRORE: memoria insufficiente.\n");
exit (1);
}
return (tmp);
}