afReadMisc man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

AFREADMISC(3)							 AFREADMISC(3)

NAME
       afReadMisc, afWriteMisc, afSeekMisc - access miscellaneous metadata in
       an audio file

SYNOPSIS
       #include <audiofile.h>

       int afReadMisc (AFfilehandle file, int miscid, void *buffer, int nbytes);

       int afWriteMisc (AFfilehandle file, int miscid, const void *buffer, int nbytes);

       int afSeekMisc (AFfilehandle file, int miscid, int offbytes);

DESCRIPTION
       afReadMisc reads up to nbytes from the miscellaneous data chunk
       identified by miscid in file.

       afWriteMisc writes up to nbytes to the miscellaneous data chunk
       identified by miscid in file.

       afSeekMisc changes the current offset within the miscellaneous data
       chunk identified by miscid to the offset offbytes.

RETURN VALUE
       afReadMisc returns the number of bytes read from the specified
       miscellaneous chunk into the buffer referred to by buffer.

       afWriteMisc returns the number of bytes written to the specified
       miscellaneous chunk from the buffer referred to by buffer.

       afSeekMisc returns the new location of the logical data pointer as
       measured as an offset in bytes from the beginning of the miscellaneous
       chunk’s data area.

ERRORS
       afReadMisc, afWriteMisc, and afSeekMisc can produce the following error
       codes:

       ·    AF_BAD_READ

       ·    AF_BAD_WRITE

       ·    AF_BAD_MISCSEEK

       ·    AF_BAD_MISCID

       ·    AF_BAD_TRACKID

       ·    AF_BAD_FILEHANDLE

AUTHOR
       Michael Pruett <michael@68k.org>

Audio File Library 0.3.6	  03/06/2013			 AFREADMISC(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net