# NNS_G3dSearchSbcCmd

## Syntax

      #include <nnsys/g3d/util.h>

      const u8*
      NNS_G3dSearchSbcCmd(
          const u8* c,
          u8        cmd
      );

## Arguments

c | Pointer to the SBC code string
cmd | SBC to be searched

## Return Values

Returns the pointer inside the SBC code string to the first matching SBC that was found.

## Description

Finds the SBC command (`cmd`) in the SBC code string designated by `c`. The pointer inside the SBC code string is returned if the SBC command is found. A `NULL` is returned if the SBC command could not be found. The flag field (the upper 3 bits) inside the SBC command is ignored.

## See Also

## Revision History

2004/08/02 Initial version.

CONFIDENTIAL