summaryrefslogtreecommitdiff
path: root/i/serialplot/serialplot_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'i/serialplot/serialplot_io.c')
-rw-r--r--i/serialplot/serialplot_io.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/i/serialplot/serialplot_io.c b/i/serialplot/serialplot_io.c
index fa45433..56b4fd0 100644
--- a/i/serialplot/serialplot_io.c
+++ b/i/serialplot/serialplot_io.c
@@ -52,3 +52,32 @@ write_serial(int fd,char *command)
{
return fputs(command,fdopen(fd,"r+"));
}
+
+
+void
+find_name(char *filename)
+{
+
+//#include <stdio.h>
+//#include <sys/types.h>
+//#include <dirent.h>
+//
+//int
+//main (void)
+//{
+// DIR *dp;
+// struct dirent *ep;
+//
+// dp = opendir ("./");
+// if (dp != NULL)
+// {
+// while (ep = readdir (dp))
+// puts (ep->d_name);
+// (void) closedir (dp);
+// }
+// else
+// perror ("Couldn't open the directory");
+//
+// return 0;
+//}
+}