forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel: types: add k_off_t and k_ssize_t types
Define k_off_t to have native support for measuring file offsets within any kind of file that is supportable in Zephyr. CONFIG_OFFSET_64BIT is added to allow 32-bit users to force 64-bit offsets, when trading space and speed for flexibility makes sense for the application. Define k_ssize_t to have native support for reporting file I/O sizes along with negative error codes. Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
- Loading branch information
Showing
2 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters