Supply buffer as void * in open()