From bd354843c2751ec6c7b5b85ef08f9145f6232e6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Fri, 17 Oct 2014 12:51:13 +0200 Subject: Read stdin when given - as filename --- text.h | 1 + 1 file changed, 1 insertion(+) (limited to 'text.h') 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 */ -- cgit v1.2.3