From: Lawrence S. <ljs...@us...> - 2022-10-02 00:59:30
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via f07a8b98ec991373c614af0c7b45c3ca5a4eb8f3 (commit) from 83c59e6c4b51e8aac9a593a3f2782b1f5c9c16e6 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit f07a8b98ec991373c614af0c7b45c3ca5a4eb8f3 Author: Lawrence Sebald <ljs...@us...> Date: Sat Oct 1 20:59:04 2022 -0400 Add note about unsignedness of returns from fs_total and fs_total64. ----------------------------------------------------------------------- Summary of changes: include/kos/fs.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/kos/fs.h b/include/kos/fs.h index a2695f5..657caf7 100644 --- a/include/kos/fs.h +++ b/include/kos/fs.h @@ -343,6 +343,8 @@ _off64_t fs_tell64(file_t hnd); \param hnd The file descriptor to retrieve the size from. \return The length of the file on success, -1 on failure. + \note size_t is unsigned, so the error return value is not + less than 0. */ size_t fs_total(file_t hnd); @@ -353,6 +355,8 @@ size_t fs_total(file_t hnd); \param hnd The file descriptor to retrieve the size from. \return The length of the file on success, -1 on failure. + \note uint64 is unsigned, so the error return value is not + less than 0. */ uint64 fs_total64(file_t hnd); hooks/post-receive -- A pseudo Operating System for the Dreamcast. |