e1ab2f9fed
The code searches for the first occurence of @, : or !. Upon failure, it returns the index of \0. This is exactly what strcspn() does.