aboutsummaryrefslogtreecommitdiff
path: root/src/file.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/file.cpp17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/file.cpp b/src/file.cpp
index 2965afa..368b788 100644
--- a/src/file.cpp
+++ b/src/file.cpp
@@ -109,7 +109,17 @@ bool Bu::File::canWrite()
109 return true; 109 return true;
110} 110}
111 111
112bool Bu::File::canSeek() 112bool Bu::File::isReadable()
113{
114 return true;
115}
116
117bool Bu::File::isWritable()
118{
119 return true;
120}
121
122bool Bu::File::isSeekable()
113{ 123{
114 return true; 124 return true;
115} 125}
@@ -139,3 +149,8 @@ void Bu::File::chmod( mode_t t )
139 fchmod( fileno( fh ), t ); 149 fchmod( fileno( fh ), t );
140} 150}
141 151
152bool Bu::File::isOpen()
153{
154 return (fh != NULL);
155}
156