]> pd.if.org Git - pdclib/blobdiff - internals/_PDCLIB_glue.h
Added test for interactive streams (_IOLBF / _IOFBF)
[pdclib] / internals / _PDCLIB_glue.h
index 505b91930cd78ade1a12f127ea445bf7070d9b62..02ba7f9e40af87b38b7a8dc0b60ffab8a51c648e 100644 (file)
@@ -61,3 +61,9 @@ int _PDCLIB_remove( const char * filename );
    must still be accessible by old name.
 */
 int _PDCLIB_rename( const char * old, const char * new );
+
+/* A system call that returns one if the given file descriptor refers to an
+   interactive device, and zero otherwise.
+ */
+int _PDCLIB_isinteractive( _PDCLIB_fd_t fd );
+