Documented a return value in cvOpenFileStorage (issue #215)
authorIlya Lysenkov <no@email>
Mon, 9 Apr 2012 13:37:44 +0000 (13:37 +0000)
committerIlya Lysenkov <no@email>
Mon, 9 Apr 2012 13:37:44 +0000 (13:37 +0000)
modules/core/doc/old_xml_yaml_persistence.rst

index d5eeb91..1bfd17e 100644 (file)
@@ -356,7 +356,7 @@ Opens file storage for reading or writing data.
 
             * **CV_STORAGE_WRITE** the storage is open for writing 
 
-The function opens file storage for reading or writing data. In the latter case, a new file is created or an existing file is rewritten. The type of the read or written file is determined by the filename extension:  ``.xml`` for  ``XML`` and  ``.yml`` or  ``.yaml`` for  ``YAML``. The function returns a pointer to the :ocv:struct:`CvFileStorage` structure.
+The function opens file storage for reading or writing data. In the latter case, a new file is created or an existing file is rewritten. The type of the read or written file is determined by the filename extension:  ``.xml`` for  ``XML`` and  ``.yml`` or  ``.yaml`` for  ``YAML``. The function returns a pointer to the :ocv:struct:`CvFileStorage` structure. If the file cannot be opened then the function returns ``NULL``.
 
 Read
 ----