Changes in uspace/srv/fs/fat/fat_dentry.c [a1d7b4b:a21d837] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_dentry.c
ra1d7b4b ra21d837 43 43 #include <byteorder.h> 44 44 #include <assert.h> 45 #include <unistd.h> 46 #include <sys/types.h> 45 47 46 48 /** Compare path component with the name read from the dentry. … … 231 233 /** Get number of bytes in a string with size limit. 232 234 * 233 * @param str NULL-terminated (or not) string. 235 * @param str NULL-terminated (or not) string. The pointer comes from a packed 236 * structure and as such is expected to be unaligned. 234 237 * @param size Maximum number of bytes to consider. 235 238 * … … 237 240 * 238 241 */ 239 size_t fat_lfn_str_nlength(const u int16_t *str, size_t size)242 size_t fat_lfn_str_nlength(const unaligned_uint16_t *str, size_t size) 240 243 { 241 244 size_t offset = 0;
Note:
See TracChangeset
for help on using the changeset viewer.