N
AME
array_search
- search an array
S
YNTAX
#include "array.h"
INT32 array_search(struct array *a,
struct svalue *val,
INT32 start);
D
ESCRIPTION
This function loops over the array 'a' starting at 'start' until it finds an index that is_eq to 'val'. When it finds such a value the number for that index will be returned. If no such value is found -1 is returned.
N
OTA
B
ENE
This function checks the type_field in the array, and also re-builds the type-field if the value is not found.
K
EYWORDS
array
S
EE
A
LSO
is_eq