]> git.donarmstrong.com Git - fastq-tools.git/blobdiff - src/common.h
Fix the weird output behavior of fastq-sample.
[fastq-tools.git] / src / common.h
index 163755bd925d09b2aa4986ef27fd9dd6f80e10f7..5cc34fba0ca115f77c2f636594e2672f2501f579 100644 (file)
@@ -21,5 +21,9 @@ void* malloc_or_die(size_t);
 void* realloc_or_die(void*, size_t);
 FILE* fopen_or_die(const char*, const char*);
 
+/* Open a file for reading, creating it if it doesn't exist, and complaining if
+ * it does. */
+FILE* open_without_clobber(const char* filename);
+
 #endif