Revision 28f4ee9e406fce786bb126198f84ce6ec43cb9c1 authored by Adrian Baddeley on 10 February 2011, 00:00:00 UTC, committed by Gabor Csardi on 10 February 2011, 00:00:00 UTC
1 parent c4ff53c
fexitc.c
# include <R.h>
# include <stddef.h>
# include <string.h>
void fexitc(const char *msg)
{
size_t nc = strlen(msg);
char buf[256];
if(nc > 255) {
warning("invalid character length in fexitc");
nc = 255;
}
strncpy(buf, msg, nc);
buf[nc] = '\0';
error(buf);
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...