Remove "_t" suffix from names of struct types
Allow NULL buffer in read/write if size is 0