MCPcopy Create free account
hub / github.com/JACoders/OpenJK / Cmd_FindCommand

Function Cmd_FindCommand

code/qcommon/cmd.cpp:364–371  ·  view source on GitHub ↗

============ Cmd_FindCommand ============ */

Source from the content-addressed store, hash-verified

362============
363*/
364cmd_function_t *Cmd_FindCommand( const char *cmd_name )
365{
366 cmd_function_t *cmd;
367 for( cmd = cmd_functions; cmd; cmd = cmd->next )
368 if( !Q_stricmp( cmd_name, cmd->name ) )
369 return cmd;
370 return NULL;
371}
372
373/*
374============

Callers 1

Cmd_AddCommandFunction · 0.70

Calls 1

Q_stricmpFunction · 0.85

Tested by

no test coverage detected