Annotation of coherent/a/usr/man/MULTI/write, revision 1.1

1.1     ! root        1: 
        !             2: 
        !             3: write()                COHERENT System Call               write()
        !             4: 
        !             5: 
        !             6: 
        !             7: 
        !             8: Write to a file
        !             9: 
        !            10: iinntt wwrriittee(_f_d, _b_u_f_f_e_r, _n)
        !            11: iinntt _f_d; cchhaarr *_b_u_f_f_e_r; iinntt _n;
        !            12: 
        !            13: write writes  n bytes of data, beginning  at address buffer, into
        !            14: the file associated  with the file descriptor fd.  Writing begins
        !            15: at the current write position, as  set by the last call to either
        !            16: write or lseek.  write  advances the position of the file pointer
        !            17: by the number of characters written.
        !            18: 
        !            19: ***** Example *****
        !            20: 
        !            21: For an  example of how  to use this  function, see the  entry for
        !            22: open.
        !            23: 
        !            24: ***** See Also *****
        !            25: 
        !            26: COHERENT system calls, STDIO
        !            27: 
        !            28: ***** Diagnostics *****
        !            29: 
        !            30: write returns -1 if  an error occurred before the write operation
        !            31: commenced, such  as a  bad file  descriptor fd or  invalid buffer
        !            32: pointer.  Otherwise, it  returns the number of bytes written.  It
        !            33: should be considered  an error if this number is  not the same as
        !            34: n.
        !            35: 
        !            36: ***** Notes *****
        !            37: 
        !            38: write is a low-level  call that passes data directly to COHERENT.
        !            39: It  should not  be mixed  with high-level  calls, such  as fread,
        !            40: fwrite, or fopen.
        !            41: 
        !            42: 
        !            43: 
        !            44: 
        !            45: 
        !            46: 
        !            47: 
        !            48: 
        !            49: 
        !            50: 
        !            51: 
        !            52: 
        !            53: 
        !            54: 
        !            55: 
        !            56: 
        !            57: 
        !            58: 
        !            59: 
        !            60: 
        !            61: 
        !            62: 
        !            63: 
        !            64: COHERENT Lexicon                                           Page 1
        !            65: 
        !            66: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.