12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- #if HAVE_CONFIG_H
- # include <config.h>
- #endif
- #include "unicodeio.h"
- #include "print-copyr.h"
- #include <stdio.h>
- #define COPYRIGHT_SIGN 0x00A9
- static int
- print_parenthesized_c (unsigned int code, void *callback_arg)
- {
- FILE *stream = callback_arg;
- return fputs ("(C)", stream);
- }
- void
- print_copyright (char const *notice)
- {
- fputs ("Copyright ", stdout);
- unicode_to_mb (COPYRIGHT_SIGN, print_unicode_success, print_parenthesized_c,
- stdout);
- fputc (' ', stdout);
- puts (notice);
- }
|