diff options
Diffstat (limited to 'base/file_util.h')
-rw-r--r-- | base/file_util.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/base/file_util.h b/base/file_util.h index 6fe9a3d..a187fee 100644 --- a/base/file_util.h +++ b/base/file_util.h @@ -180,15 +180,16 @@ BASE_API bool ReadFileToString(const FilePath& path, std::string* contents); // Read exactly |bytes| bytes from file descriptor |fd|, storing the result // in |buffer|. This function is protected against EINTR and partial reads. // Returns true iff |bytes| bytes have been successfuly read from |fd|. -bool ReadFromFD(int fd, char* buffer, size_t bytes); +BASE_API bool ReadFromFD(int fd, char* buffer, size_t bytes); // Creates a symbolic link at |symlink| pointing to |target|. Returns // false on failure. -bool CreateSymbolicLink(const FilePath& target, const FilePath& symlink); +BASE_API bool CreateSymbolicLink(const FilePath& target, + const FilePath& symlink); // Reads the given |symlink| and returns where it points to in |target|. // Returns false upon failure. -bool ReadSymbolicLink(const FilePath& symlink, FilePath* target); +BASE_API bool ReadSymbolicLink(const FilePath& symlink, FilePath* target); #endif // defined(OS_POSIX) #if defined(OS_WIN) |