Argument Checking Configuration

Most functions in µC/FS include code to validate arguments that are passed to it. Specifically, µC/FS checks to see if passed pointers are NULL, if arguments are within valid ranges, etc. The following constants configure additional argument checking.

FS_CFG_ARG_CHK_EXT_EN

FS_CFG_ARG_CHK_EXT_EN allows code to be generated to check arguments for functions that can be called by the user and for functions which are internal but receive arguments from an API that the user can call.

FS_CFG_ARG_CHK_DBG_EN

FS_CFG_ARG_CHK_DBG_EN allows code to be generated which checks to make sure that pointers passed to functions are not NULL, that arguments are within range, etc.: