From 8e94244f86e657e4113e35438e59cf5771882b25 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 3 Mar 2024 12:51:03 +0100 Subject: libogg and libvorbis are no longer part of this source tree --- contrib/ogg/doc/libogg/oggpack_writecheck.html | 81 -------------------------- 1 file changed, 81 deletions(-) delete mode 100644 contrib/ogg/doc/libogg/oggpack_writecheck.html (limited to 'contrib/ogg/doc/libogg/oggpack_writecheck.html') diff --git a/contrib/ogg/doc/libogg/oggpack_writecheck.html b/contrib/ogg/doc/libogg/oggpack_writecheck.html deleted file mode 100644 index e23131b..0000000 --- a/contrib/ogg/doc/libogg/oggpack_writecheck.html +++ /dev/null @@ -1,81 +0,0 @@ - - - -libogg - function - oggpack_writecheck - - - - - - - - - -

libogg documentation

libogg release 1.3.2 - 20140527

- -

oggpack_writecheck

- -

declared in "ogg/ogg.h";

- -

This function checks the readiness status of -an oggpack_buffer previously -initialized for writing using the -Ogg bitpacking functions. A write -buffer that encounters an error (such as a failed malloc) will clear -its internal state and release any in-use memory, flagging itself as -'not ready'. Subsequent attempts to write using the buffer will -silently fail. This error state may be detected at any later time by -using oggpack_writecheck(). It is safe but not necessary to -call oggpack_writeclear() on a buffer that -has flagged an error and released its resources. - -

Important note to developers: Although libogg checks the -results of memory allocations, these checks are only useful on a -narrow range of embedded platforms. Allocation checks perform no -useful service on a general purpose desktop OS where pages are -routinely overallocated and all allocations succeed whether memory is -available or not. The only way to detect an out of memory condition -on the vast majority of OSes is to watch for and capture segmentation -faults. This function is useful only to embedded developers. - -

- - - - -
-

-int  oggpack_writecheck(oggpack_buffer *b);
-
-
- -

Parameters

-
-
b
-
An oggpack_buffer previously initialized for writing.
-
- - -

Return Values

-
-
  • zero: buffer is ready for writing
  • -
  • nonzero: buffer is not ready or encountered an error
  • -
    -

    - -

    -


    - - - - - - - - -

    copyright © 2000-2014 Xiph.Org

    Ogg Container Format

    libogg documentation

    libogg release 1.3.2 - 20140527

    - - - - - -- cgit v1.1