Loading…
|
Translation changed |
|
|
String added in the repository |
|
Loading…
|
Translation changed |
|
|
String added in the repository |
|
Attempts to reposition the current file offset to the value `o`, which represents a byte offset relative to the beginning of the file. If `f` does not refer to an open file, the function will set该函数尝试将当前文件偏移量重新定位到 `o`,该值表示相对于文件起始位置的字节偏移量。若 `f` 未引用一个打开的文件,该函数会将 `ec`to设置为 `errc::invalid_argument`and return immediately. The function will ensure that并立即返回。同时,该函数会根据实际执行情况设置错误代码:若未发生错误,则确保 `!ec`is为 `true`if there was no error or set to the appropriate error code if an error occurred.;若发生错误,则将其设置为相应的错误代码。