49eabb90e2eb2060f3d0abe237e11459d3123c32
kent
  Tue Apr 30 17:18:59 2013 -0700
Adding freeSpaceOnFileSystem library function.
diff --git src/inc/portable.h src/inc/portable.h
index bb56367..205c2d6 100644
--- src/inc/portable.h
+++ src/inc/portable.h
@@ -144,17 +144,22 @@
  * later files having a larger time. */
 
 
 boolean isPipe(int fd);
 /* determine in an open file is a pipe  */
 
 boolean maybeTouchFile(char *fileName);
 /* If file exists, set its access and mod times to now.  If it doesn't exist, create it.
  * Return FALSE if we have a problem doing so. */
 
 boolean isRegularFile(char *fileName);
 /* Return TRUE if fileName is a regular file. */
 
 void makeSymLink(char *oldName, char *newName);
 /* Return a symbolic link from newName to oldName or die trying */
+
+long long freeSpaceOnFileSystem(char *path);
+/* Given a path to a file or directory on a file system,  return free space
+ * in bytes. */
+
 #endif /* PORTABLE_H */