Show
Ignore:
Timestamp:
01/17/06 22:51:03 (3 years ago)
Author:
gnue
Message:

- cleaned up a warning
- the symbols for seek are now seek_set, seek_cur and seek_end since end conflicted with end keyword
- got seek to actually work (replaced == with NewtRefEqual, removed quotes for the symbols)
- added getc, putc and write (write writes a binary just like read reads a binary)
- added a sample code for NSOF I/O.

contribute patch by Paul Guyot

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • NEWT0/trunk/src/newt_core/NewtIconv.c

    r36 r53  
    3838        if (dst) 
    3939        { 
    40             char *  inbuf_p = src; 
     40            const char *    inbuf_p = src; 
    4141            char *  outbuf_p = dst; 
    4242            size_t  inbytesleft = srclen;