]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/sdk/cpp/sf/basecomm.h
- pass errno across interface
[tinyos-2.x.git] / support / sdk / cpp / sf / basecomm.h
index 3b43bda052735d120c5f8905d2f401621ec5b1ac..be45e222665d87f195e474369b6735ce8bd18d42 100644 (file)
@@ -41,10 +41,10 @@ public:
     virtual ~BaseComm();
 protected:
     /* performs blocking read on fd */
-    virtual int readFD(int fd, char *buffer, int count);
+    virtual int readFD(int fd, char *buffer, int count, int *err);
 
     /* performs blocking write on fd */
-    virtual int writeFD(int fd, const char *buffer, int count);
+    virtual int writeFD(int fd, const char *buffer, int count, int *err);
 };
 
 #endif