nn::dbg::CTR::GetArgc Function#include <nn/dbg.h>
int GetArgc(
void
);
None.
Gets the number of arguments from the argument buffer, stored as a string array.
Returns 0 if there is no startup argument buffer.
The number of arguments includes the string of the application's name. For example, if the application was started with the two explicit arguments -A 123, the function returns three values. See nn::dbg::CTR::Argv0String for details on the application's name string.
Use the nn::dbg::CTR::GetArgv function to get the argument values.
Always returns 0 in release builds.
CONFIDENTIAL