/usr/include/irstlm/index.h is in libirstlm-dev 5.80.03-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | // $Id: index.h 236 2009-02-03 13:25:19Z nicolabertoldi $
#pragma once
#ifdef WIN32
inline const char *index(const char *str, char search)
{
size_t i=0;
while (i< strlen(str) ) {
if (str[i]==search) return &str[i];
}
return NULL;
}
#endif
|