return -E_FREAD;
}
/**
-* paraslash's wrapper for fgets(3)
+* paraslash's wrapper for fgets(3)
* \param line pointer to the buffer to store the line
* \param size the size of the buffer given by \a line
* \param f the stream to read from
clearerr(f);
goto again;
}
+
+int para_fseek(FILE *stream, long offset, int whence)
+{
+ int ret = fseek(stream, offset, whence);
+ return ret < 0? -E_FSEEK : ret;
+}