Re: [PHP-DEV] ZEND_PUTC question

2002-11-21 Thread Andi Gutmans
Yes, so that it'll be compatible with the way libc's putc() works (the value is the written char). Andi At 01:20 PM 11/21/2002 -0800, Brad Bulger wrote: I was looking at compile warnings for 4.3, and came across this in Zend/zend.h /* output support */ #define ZEND_WRITE(str, str_len)ze

[PHP-DEV] ZEND_PUTC question

2002-11-21 Thread Brad Bulger
I was looking at compile warnings for 4.3, and came across this in Zend/zend.h /* output support */ #define ZEND_WRITE(str, str_len)zend_write((str), (str_len)) #define ZEND_PUTS(str) zend_write((str), strlen((str))) #define ZEND_PUTC(c)zend_write(&(c),