is it possible to save information gather from a sprintf into a variable? The lines of code below are an example to better illustrate my question.
char fileName;
fileName = sprintf(command, "find -inum %i -type f", iNode);
The purpose is to find the file name associated with the inode number, then run "stat" on that file name.