VistaIOWriteFile(3)


NAME

   VistaIOWriteFile - write a Vista data file

SYNOPSIS

   #include <stdio>
   #include <vistaio.h>

   VistaIOBoolean VistaIOWriteFile (file, list)
          FILE *file;
          VistaIOAttrList list;

ARGUMENTS

   file      Specifies  the  open  stream to which the data file should be
             written.

   list      Specifies the list of attributes to be written.

DESCRIPTION

   VistaIOWriteFile writes  an  attribute  list  as  a  Vista  data  file.
   Attributes  are  written  in the order that they appear in the list. As
   they are written, attribute values are  converted  from  internal  form
   (e.g., a VistaIOImage data structure) to external form according to the
   conventions described by VistaIOattribute(3) and VistaIOtype(3).

RETURN VALUE

   If VistaIOWriteFile is successful it returns TRUE. In this case it will
   have  written  everything  from  the Vista data file header to the last
   byte of binary data. If VistaIOWriteFile encounters an error,  however,
   it returns FALSE while perhaps leaving the file incomplete.

SEE ALSO

   VistaIOWriteImages(3), VistaIOWriteObjects(3), VistaIOWriteUbcIff(3),
   stdio(3),
   VistaIOtype(3)

NOTES

   Data is written to the stream sequentially, permitting the stream to be
   a pipe. No rewind is performed either before writing or after.

DIAGNOSTICS

   ``name attribute has unwriteable representation: repn.''
          The  named  attribute  has  a  value that cannot be converted to
          external form. A  VistaIOPointer  value,  for  example,  has  no
          external form.

   ``Write to stream failed.''
          A write to file failed because of an I/O error or a corrupt data
          structure.

AUTHOR

   Art Pope <pope@cs.ubc.ca>

   Adaption to vistaio: Gert Wollny <gw.fossdev@gmail.com>





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.