1 /* Copyright (C) 2004-2006 Henry Cejtin, Matthew Fluet, Suresh
2 * Jagannathan, and Stephen Weeks.
4 * MLton is released under a BSD-style license.
5 * See the file MLton-LICENSE for details.
10 void die (const char *fmt
, ...) {
15 vfprintf(stderr
, fmt
, args
);
17 fprintf(stderr
, "\n");
21 void diee (const char * fmt
, ...) {
26 vfprintf(stderr
, fmt
, args
);
29 fprintf(stderr
, " (%s)\n", strerror(errno
));