MIDIREAD

Section: C Library Functions (3)
Updated: TCLM
Index Return to Main Contents

BSD mandoc
TCLM Jan 10, 1993  

NAME

midiread - tclm command to read a Standard MIDI File  

SYNOPSIS

fileId  

DESCRIPTION

is a tclm command that reads a Standard MIDI File for later use by other MIDI specific tclm commands.

takes one argument that specifies a file descriptor from which to read the Standard MIDI File. This argument should be a value returned by the open(3) tcl command, or ``stdin''

Since allocates space for the Standard MIDI File, midifree(3) should be used when the file is no longer needed.  

RETURN VALUES

returns a MIDI file ID for use by other MIDI specific tclm commands. If there is no data to be read, forces an error and returns ``EOF.'' This facilitates determining when there are no more files to be read from stdin  

SEE ALSO

tclm(1), open(3), midifree(3)  

AUTHORS

Mike Durian - durian@advtech.uswest.com


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUES
SEE ALSO
AUTHORS

This document was created by man2html, using the manual pages.
Time: 00:28:07 GMT, March 30, 2022