FatFS
f_truncate()
is only used within FatFS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FatFS
f_truncate()
f_truncate() function
Syntax
Show:
Summary
Declaration
Definition
from
ff.h:317
FRESULT
f_truncate
(
FIL
*
fp
)
;
Implemented in
ff.c:4953
Arguments
Argument
fp
Related Functions
Found 14 other functions taking a
FIL
argument:
Function
f_lseek()
f_close()
f_open()
f_write()
f_read()
f_sync()
f_expand()
f_write_zero_mem()
test_contiguous_file()
f_forward()
f_putc()
f_puts()
f_printf()
f_gets()
Examples
References
from
examples
Code
Location
Referrer
FRESULT
f_truncate
(
ff.c:4953
FRESULT
f_truncate
(
FIL
*
fp
)
;
/* Truncate the file */
ff.h:317
res
=
f_truncate
(
file
)
;
vfs_fat.c:1201
vfs_fat_truncate()
res
=
f_truncate
(
file
)
;
vfs_fat.c:1309
vfs_fat_ftruncate()
Call Tree
from
examples
f_truncate()
is called by 2 functions and calls 5 functions:
vfs_fat_truncate()
vfs_fat_ftruncate()
All items filtered out
f_truncate()
ff_disk_write()
validate()
get_fat()
unlock_volume()
remove_chain()
All items filtered out
Data Use
from
examples
f_truncate()
reads 16 variables and writes 4 variables:
FFOBJID::objsize
FIL::obj
FIL::flag
FIL::err
FIL::fptr
FIL::clust
FIL::sect
FIL::buf
FRESULT::FR_OK
FRESULT::FR_DISK_ERR
FRESULT::FR_INT_ERR
FRESULT::FR_DENIED
FATFS::pdrv
FATFS::n_fatent
FFOBJID::sclust
DRESULT::RES_OK
All items filtered out
f_truncate()
FFOBJID::objsize
FIL::flag
FIL::err
FFOBJID::sclust
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out