Resize the file.
- Parameters
-
- Returns
- *this
- Exceptions
-
- Note
- If the file was larger than 'sz', the extra data is lost. If the file was shorter, it is extended, and the extended part reads as null bytes ('\0'). The file offset is not changed
Definition at line 313 of file filebuf.cpp.
References csdbg::streambuf::m_handle, and unlikely.
319 while (
unlikely(retval < 0 && errno == EINTR) );
i32 m_handle
Stream handle (descriptor)
int i32
32-bit signed integer
#define unlikely(expr)
Offer a hint (negative) to the pipeline branch predictor.