On Fri, 10 May 2013 13:04:12 -0700, Scott Ford wrote:

>All:
>
>I am writing a routing and want to use type=memory files in C and this is what 
>i tried...


These 3 lines:

    memset(buffout,'',sizeof(buffout));
    strcpy(buffout,"\n");
    fwrite(buffout,1,80,fobj);

will write "\n" followed by 79 '\0'.

Is that what you intended?

Bill

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to