On Apr 22, 2010, at 10:49 AM, Zvezdan Petkovic wrote: > libc.strdup.argtype = [ctypes.c_char_p] Correcting my typo. This should be in plural: libc.strdup.argtypes = [ctypes.c_char_p]