libcfe  0.12.1
some useful C-functions
check_device.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int check_device (const char *file, const char *dev)
 

Function Documentation

◆ check_device()

int check_device ( const char *  file,
const char *  dev 
)

Check if a file is on the given device.

Parameters
[in]filePointer to a string representing the filename.
[in]devPointer to a string representing the device name.
Returns
return value
  • 0 file is on device
  • -1 file is not on device

Definition at line 99 of file check_device.c.

Here is the call graph for this function: