Quantcast

Documentation Center

  • Trial Software
  • Product Updates

Contents

H5P.set_fapl_sec2

Set file access for sec2 driver

Syntax

H5P.set_fapl_sec2(fapl_id)

Description

H5P.set_fapl_sec2(fapl_id) modifies the file access property list, fapl_id, to use the H5FD_SEC2 driver.

Examples

fcpl = H5P.create('H5P_FILE_CREATE');
fapl = H5P.create('H5P_FILE_ACCESS');
H5P.set_fapl_sec2(fapl);
fid = H5F.create('myfile.h5','H5F_ACC_TRUNC',fcpl,fapl);
H5F.close(fid);
Was this topic helpful?