minix/lib/fphook/fltpr.c
2005-04-21 14:53:53 +00:00

12 lines
237 B
C
Executable file

#include <stdio.h>
#include <stdlib.h>
#include "../stdio/loc_incl.h"
int _fp_hook = 1;
char *
_f_print(va_list *ap, int flags, char *s, char c, int precision)
{
fprintf(stderr,"cannot print floating point\n");
exit(EXIT_FAILURE);
}