Loading…
|
Translation changed |
|
|
String added in the repository |
|
Loading…
|
Translation changed |
|
|
String added in the repository |
|
If若 `f`refers to an open file, this function attempts to determine the file size and return its value. If `f` does not refer to an open file, the function will set引用一个打开的文件,该函数将尝试获取并返回其文件大小。若 `f` 未引用一个打开的文件,该函数会将 `ec`to设置为 `errc::invalid_argument`and return 0. The function will ensure that并返回 0。同时,该函数会根据实际执行情况设置错误代码:若未发生错误,则确保 `!ec`is为 `true`if there was no error or set to the appropriate error code if an error occurred.;若发生错误,则将其设置为相应的错误代码。