comparison src/print.c @ 2731:3213c79d6672

[xemacs-hg @ 2005-04-14 09:44:24 by stephent] stderr_out doc <87ll7lbsmv.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Thu, 14 Apr 2005 09:44:27 +0000
parents 6fa9919a9a0b
children 1e7cc382eb16
comparison
equal deleted inserted replaced
2730:7031e143e4ee 2731:3213c79d6672
304 304
305 /* Output portably to stderr or its equivalent (i.e. may be a console 305 /* Output portably to stderr or its equivalent (i.e. may be a console
306 window under MS Windows); do external-format conversion and call GETTEXT 306 window under MS Windows); do external-format conversion and call GETTEXT
307 on the format string. Automatically flush when done. 307 on the format string. Automatically flush when done.
308 308
309 This is safe even when not initialized or when dying -- we don't do 309 NOTE: CIbyte means "internal format" data. This includes the "..."
310 conversion in such cases. */ 310 arguments. For numerical arguments, we have to assume that vsprintf
311 will be a good boy and format them as ASCII. For Mule internal coding
312 (and UTF-8 internal coding, if/when we get it), it is safe to pass
313 string values in internal format to be formatted, because zero octets
314 only occur in the NUL character itself. Similarly, it is safe to pass
315 pure ASCII literal strings for these functions. *Everything else must
316 be converted, including all external data.*
317
318 This function is safe to use even when not initialized or when dying --
319 we don't do conversion in such cases. */
311 320
312 void 321 void
313 stderr_out (const CIbyte *fmt, ...) 322 stderr_out (const CIbyte *fmt, ...)
314 { 323 {
315 va_list args; 324 va_list args;