src/inc/portable.h 1.29

1.29 2010/02/24 00:50:59 angie
Added touchFile (like touch command).
Index: src/inc/portable.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/portable.h,v
retrieving revision 1.28
retrieving revision 1.29
diff -b -B -U 4 -r1.28 -r1.29
--- src/inc/portable.h	22 Nov 2009 00:18:05 -0000	1.28
+++ src/inc/portable.h	24 Feb 2010 00:50:59 -0000	1.29
@@ -143,6 +143,9 @@
 
 boolean isPipe(int fd);
 /* determine in an open file is a pipe  */
 
+void touchFile(char *fileName);
+/* If file exists, set its access and mod times to now.  If it doesn't exist, create it. */
+
 #endif /* PORTABLE_H */