All pastes #813394 Raw Edit

Untitled

public c v1 · immutable
·published 2007-12-12 14:31 UTC
rendered paste body
int findheader(char e[], int size) {	unsigned int* arr = (unsigned int*) e;	while(1) if(*arr++ == 0xFF4C494E && arr-(unsigned int*) e <= size) break;	return (arr-(unsigned int*) e)*4;}