# FS_GetResultCode

## C Specification

  `#include <nitro/fs.h>`
  `static inline FSResult FS_GetResultCode(volatile const FSFile *p_file);`

## Arguments

`p_file` | Address of the `FSFile` structure

## Return Values

Returns the result of the last process executed by the specified file.

## Description

Gets the result of the last process executed by the specified file. The result is undefined if this function was called to the file that has not been yet processed or being processed.

## See Also

`FSFile`, `FSResult`

## Revision History

07/13/2004 Initial version.