~vcs-imports/gawk/master

« back to all changes in this revision

Viewing changes to helpers/timeformat.c

  • Committer: Andrew J. Schorr
  • Date: 2014-08-03 18:44:47 UTC
  • mfrom: (408.7.1)
  • mto: (408.2.352)
  • mto: This revision was merged to the branch mainline in revision 507.
  • Revision ID: git-v1:ff21da5c7f072a69e9582f1a7ae2039f27f564cf
Merge branch 'gawk-4.1-stable' to get --profile to work with -M.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include <stdio.h>
2
 
#include <locale.h>
3
 
#include <langinfo.h>
4
 
 
5
 
int main(int argc, char **argv)
6
 
{
7
 
        setlocale(LC_ALL, "");
8
 
        printf("D_T_FMT: %s\n", nl_langinfo(D_T_FMT));
9
 
#ifdef _DATE_FMT
10
 
        printf("_DATE_FMT: %s\n", nl_langinfo(_DATE_FMT));
11
 
#endif /* _DATE_FMT */
12
 
        return 0;
13
 
}