J
jacob navia
We have strchr, that seeks a character in a character string
In the x86 architecture, there are processor specific search
operations wired in the hardware that can efficiently look for
a short, or an int.
I would like to add to lcc-win32's library two functions like this
strshort(short *data, size_t len,short i);
strint(int *data, size_t len,int i);
that would look for a short or an int in a short/int array.
What would be the right name for those functions?
Does anybody know if those functions already exist in
some implementation?
Thanks in advance
jacob
In the x86 architecture, there are processor specific search
operations wired in the hardware that can efficiently look for
a short, or an int.
I would like to add to lcc-win32's library two functions like this
strshort(short *data, size_t len,short i);
strint(int *data, size_t len,int i);
that would look for a short or an int in a short/int array.
What would be the right name for those functions?
Does anybody know if those functions already exist in
some implementation?
Thanks in advance
jacob