[NTLUG:Discuss] OT : C problem - size of message

fredjame fredjame at concentric.net
Tue Sep 16 14:01:51 CDT 2003


Believe that's got it - thanks

Greg Edwards wrote:

> fredjame wrote:
>
>> [This is standard ANSI C on a UNIX machine]
>> The program receives in the call, a pointer to a text message, and 
>> then includes that message in a mailing function.
>> I need to know the size, in bytes, of the message.
>> Any suggestions would be greatly appreciated.
>> Thanks
>>
>
> A lot more detail, please.
>
> Is the text message null terminated?  If so, strlen().
>

-- 
...small is beautiful.





More information about the Discuss mailing list