Mercurial > repos > dawe > srf2fastq
comparison srf2fastq/io_lib-1.12.2/io_lib/error.c @ 0:d901c9f41a6a default tip
Migrated tool version 1.0.1 from old tool shed archive to new tool shed repository
author | dawe |
---|---|
date | Tue, 07 Jun 2011 17:48:05 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:d901c9f41a6a |
---|---|
1 /* | |
2 * Copyright (c) Medical Research Council 1994. All rights reserved. | |
3 * | |
4 * Permission to use, copy, modify and distribute this software and its | |
5 * documentation for any purpose is hereby granted without fee, provided that | |
6 * this copyright and notice appears in all copies. | |
7 * | |
8 * This file was written by James Bonfield, Simon Dear, Rodger Staden, | |
9 * as part of the Staden Package at the MRC Laboratory of Molecular | |
10 * Biology, Hills Road, Cambridge, CB2 2QH, United Kingdom. | |
11 * | |
12 * MRC disclaims all warranties with regard to this software. | |
13 */ | |
14 | |
15 #include <stdio.h> | |
16 #include <sys/types.h> | |
17 #include <stdarg.h> | |
18 | |
19 /* | |
20 * Usage: | |
21 * | |
22 * errout(format, args...); | |
23 */ | |
24 void errout(char *fmt, ...) { | |
25 va_list args; | |
26 | |
27 va_start(args, fmt); | |
28 vfprintf(stderr, fmt, args); | |
29 | |
30 va_end(args); | |
31 } | |
32 | |
33 /* | |
34 * memmove() does not exist on SunOS 4.x, despite being an ANSI library call. | |
35 * | |
36 * void *memmove(void *to, const void *from, size_t len) { | |
37 * bcopy(from, to, len); | |
38 * return to; | |
39 * } | |
40 */ |