summaryrefslogtreecommitdiffstats
path: root/src/H5FDstdio.c
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2003-03-19 23:29:23 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2003-03-19 23:29:23 (GMT)
commit02be089f0c99850da11b0e693235df90f6d08c16 (patch)
tree992073bf8f39fb143c7779afc2fd1d090a73a32d /src/H5FDstdio.c
parent43c2e1bab7662ef781545b4d82a2112a6d04823a (diff)
downloadhdf5-02be089f0c99850da11b0e693235df90f6d08c16.zip
hdf5-02be089f0c99850da11b0e693235df90f6d08c16.tar.gz
hdf5-02be089f0c99850da11b0e693235df90f6d08c16.tar.bz2
[svn-r6501] Purpose:
New Feature Description: Added support for the lock and unlock function calls for file drivers. Only FPHDF5 uses this feature. All of these drivers don't define lock or unlock methods. Platforms tested: Linux, Modi4, Sol Misc. update:
Diffstat (limited to 'src/H5FDstdio.c')
-rw-r--r--src/H5FDstdio.c21
1 files changed, 17 insertions, 4 deletions
diff --git a/src/H5FDstdio.c b/src/H5FDstdio.c
index 89cc8ea..83357eb 100644
--- a/src/H5FDstdio.c
+++ b/src/H5FDstdio.c
@@ -1,7 +1,18 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by the Board of Trustees of the University of Illinois. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the files COPYING and Copyright.html. COPYING can be found at the root *
+ * of the source code distribution tree; Copyright.html can be found at the *
+ * root level of an installed copy of the electronic HDF5 document set and *
+ * is linked from the top-level documents page. It can also be found at *
+ * http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have *
+ * access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
/*
- * Copyright (C) 1999-2002 NCSA
- * All rights reserved.
- *
* Programmer: Robb Matzke <matzke@llnl.gov>
* Wednesday, October 22, 1997
*
@@ -171,7 +182,9 @@ static const H5FD_class_t H5FD_stdio_g = {
H5FD_stdio_read, /*read */
H5FD_stdio_write, /*write */
H5FD_stdio_flush, /*flush */
- H5FD_FLMAP_SINGLE, /*fl_map */
+ NULL, /*lock */
+ NULL, /*unlock */
+ H5FD_FLMAP_SINGLE /*fl_map */
};