emulator/io5/allocation.c
io5_file_t *io5_file_allocate() {
  io5_file_t *f = malloc(sizeof(io5_file_t));
  if (NULL == f) {
    return NULL;
  }
  memset(f, 0, sizeof(io5_file_t));
  return f;
}
// allocate an io stream instance not connected to any file
// returns NULL if cannot allocate memory
allocate an io stream instance not connected to any file
returns NULL if cannot allocate memory
allocate an io stream instance not connected to any file returns NULL if cannot allocate memory
io5_file_t *io5_file_allocate() {
  io5_file_t *f = malloc(sizeof(io5_file_t));
  if (NULL == f) {
    return NULL;
  }
  memset(f, 0, sizeof(io5_file_t));
  return f;
}
io5_file_t * io5_file_allocate ( ) { io5_file_t * f = malloc ( sizeof ( io5_file_t ) ) ; if ( NULL == f ) { return NULL ; } memset ( f , 0 , sizeof ( io5_file_t ) ) ; return f ; }
allocate an io stream instance not connected to any file
returns NULL if cannot allocate memory
allocate an io stream instance not connected to any file returns NULL if cannot allocate memory