prepend_drive_to_path() function
Prepend drive letters to path names This function returns new path path pointers, pointing to a temporary buffer inside ctx.
Syntax
static void prepend_drive_to_path(vfs_fat_ctx_t * ctx,
const char ** path,
const char ** path2);
Arguments
path
as input, pointer to the path; as output, pointer to the new path
path2
as input, pointer to the path; as output, pointer to the new path
Notes
Call this function with ctx->lock acquired. Paths are valid while the lock is held.
![]()
static void prepend_drive_to_path(vfs_fat_ctx_t * ctx, const char ** path, const char ** path2){![]()
prepend_drive_to_path(fat_ctx, &path, NULL);![]()
prepend_drive_to_path(fat_ctx, &path, NULL);![]()
prepend_drive_to_path(fat_ctx, &path, NULL);![]()
prepend_drive_to_path(fat_ctx, &n1, &n2);![]()
prepend_drive_to_path(fat_ctx, &src, &dst);![]()
prepend_drive_to_path(fat_ctx, &name, NULL);![]()
prepend_drive_to_path(fat_ctx, &name, NULL);![]()
prepend_drive_to_path(fat_ctx, &name, NULL);![]()
prepend_drive_to_path(fat_ctx, &path, NULL);![]()
prepend_drive_to_path(fat_ctx, &path, NULL);![]()
prepend_drive_to_path(fat_ctx, &path, NULL);![]()
prepend_drive_to_path(fat_ctx, &file_path, NULL);![]()
prepend_drive_to_path(fat_ctx, &file_path, NULL);
prepend_drive_to_path() is called by 13 functions:
![]()
prepend_drive_to_path()
prepend_drive_to_path() reads 3 variables:
![]()
prepend_drive_to_path()