aboutsummaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-10-17 12:51:13 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-10-17 14:15:31 +0200
commitbd354843c2751ec6c7b5b85ef08f9145f6232e6e (patch)
tree384528ba3c384160b5a07159f7e49fe6efdd0f01 /text.h
parent9c4999fc9ee4a071bba068e68d690ba637ec28f5 (diff)
downloadvis-bd354843c2751ec6c7b5b85ef08f9145f6232e6e.tar.gz
vis-bd354843c2751ec6c7b5b85ef08f9145f6232e6e.tar.xz
Read stdin when given - as filename
Diffstat (limited to 'text.h')
-rw-r--r--text.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/text.h b/text.h
index 52a5fad..34e350d 100644
--- a/text.h
+++ b/text.h
@@ -33,6 +33,7 @@ typedef struct {
text_iterator_next(&it))
Text *text_load(const char *file);
+Text *text_load_fd(int fd);
/* the filename from which this text was loaded or first saved to */
const char *text_filename_get(Text*);
/* associate a filename with the yet unnamed buffer */