Added strlen() and unified pointer parameter declaration