This question has totally confused me-
I have an array(fixed size):
unsigned int i_block[15];
I have a string(length <= 60):
"path/to/bla/is/bla"
How would I go about storing the characters of the string in the space for the array? I was thinking about perhaps using memset, but I have no idea if that would even work?
For Reference: "If the data of a file fits in the space allocated for pointers to the data, this space can conveniently be used. E.g. ext2 stores the data of symlinks (typically file names) in this way, if the data is no more than 60 bytes ("fast symbolic links")."
from