Include <stdio.h>.
[m17n/m17n-lib.git] / example / mdate.c
index 3aef28b..2f89fe8 100644 (file)
@@ -1,4 +1,4 @@
-/* mdate.c -- Show the sysmet date and time in all locales.
+/* mdate.c -- Show system date/time in all locales.    -*- coding: euc-jp; -*-
    Copyright (C) 2003, 2004
      National Institute of Advanced Industrial Science and Technology (AIST)
      Registration Number H15PRO112
    02111-1307, USA.  */
 
 /***en
-    @page mdate display date and time
+    @enpage m17n-date display date and time
 
-    @section mdate-synopsis SYNOPSIS
+    @section m17n-date-synopsis SYNOPSIS
 
-    mdate [ OPTION ... ]
+    m17n-date [ OPTION ... ]
 
-    @section mdate-description DESCRIPTION
+    @section m17n-date-description DESCRIPTION
 
     Display the system date and time in many locales on a window.
 
     </ul>
 */
 /***ja
-    @page mdate Æü»þ¤òɽ¼¨¤¹¤ë
+    @japage m17n-date Æü»þ¤òɽ¼¨¤¹¤ë
 
-    @section mdate-synopsis SYNOPSIS
+    @section m17n-date-synopsis ¥·¥Î¥×¥·¥¹
 
-    mdate [ OPTION ... ]
+    m17n-date [ OPTION ... ]
 
-    @section mdate-description DESCRIPTION
+    @section m17n-date-description ÀâÌÀ
 
     ¥·¥¹¥Æ¥à¤ÎÆü»þ¤ò¤µ¤Þ¤¶¤Þ¤Ê¥í¥±¡¼¥ë¤Ç¥¦¥£¥ó¥É¥¦¤Ëɽ¼¨¤¹¤ë¡£ 
 
@@ -82,7 +82,7 @@
 #include <m17n.h>
 #include <m17n-misc.h>
 
-#define VERSION "1.0"
+#define VERSION "1.2.0"
 
 /* Return a plist of all locales currently avairable on the system.
    The keys and values of the plist are locale name symbols and
@@ -174,7 +174,7 @@ main (int argc, char **argv)
        help_exit (argv[0], 0);
       else if (! strcmp (argv[i], "--version"))
        {
-         printf ("mdate (m17n library) %s\n", VERSION);
+         printf ("m17n-date (m17n library) %s\n", VERSION);
          printf ("Copyright (C) 2003 AIST, JAPAN\n");
          exit (0);
        }