15 char *int_curr_symbol;
16 char *currency_symbol;
17 char *mon_decimal_point;
18 char *mon_thousands_sep;
30 char int_p_cs_precedes;
31 char int_p_sep_by_space;
32 char int_n_cs_precedes;
33 char int_n_sep_by_space;
50 #if __POSIX_VISIBLE >= 200809
52 #ifndef _LOCALE_T_DEFINED_
53 #define _LOCALE_T_DEFINED_
54 typedef void *locale_t;
57 #define LC_COLLATE_MASK (1 << LC_COLLATE)
58 #define LC_CTYPE_MASK (1 << LC_CTYPE)
59 #define LC_MONETARY_MASK (1 << LC_MONETARY)
60 #define LC_NUMERIC_MASK (1 << LC_NUMERIC)
61 #define LC_TIME_MASK (1 << LC_TIME)
62 #define LC_MESSAGES_MASK (1 << LC_MESSAGES)
64 #define LC_ALL_MASK ((1 << _LC_LAST) - 2)
66 #define LC_GLOBAL_LOCALE ((locale_t)-1)
72 struct lconv *localeconv(void);
73 char *setlocale(int, const char *);
75 #if __POSIX_VISIBLE >= 200809
76 locale_t duplocale(locale_t);
77 void freelocale(locale_t);
78 locale_t newlocale(int, const char *, locale_t);
79 locale_t uselocale(locale_t);
89 #ifndef _PROTOCOLS_DUMPRESTORE_H_
90 #define _PROTOCOLS_DUMPRESTORE_H_
95 #define HIGHDENSITYTREC 32
96 #define TP_NINDIR (TP_BSIZE/)
100 #define OFS_MAGIC (int)60011
101 #define NFS_MAGIC (int)60012
102 #ifndef FS_UFS2_MAGIC
103 #define FS_UFS2_MAGIC (int)0x19540119
105 #define CHECKSUM (int)84446
107 extern union u_spcl {
108 char dummy[TP_BSIZE];
119 struct ufs1_dinode __uc_dinode;
122 int16_t __uc_spare1[3];
124 int32_t __uc_old_atime;
125 int32_t __uc_atimensec;
126 int32_t __uc_old_mtime;
127 int32_t __uc_mtimensec;
128 int32_t __uc_spare2[2];
130 int32_t __uc_birthtimensec;
131 int64_t __uc_birthtime;
134 int32_t __uc_spare4[7];
135 uint32_t __uc_file_flags;
136 int32_t __uc_spare5[2];
139 int32_t __uc_spare6[2];
143 char c_addr[TP_NINDIR];
144 char c_label[LBLSIZE];
146 char c_filesys[NAMELEN];
148 char c_host[NAMELEN];
150 int32_t c_old_firstrec;
158 #define spcl u_spcl.s_spcl
160 #define c_dinode __c_ino.__uc_dinode
161 #define c_mode __c_ino.__uc_ino.__uc_mode
162 #define c_spare1 __c_ino.__uc_ino.__uc_spare1
163 #define c_size __c_ino.__uc_ino.__uc_size
164 #define c_old_atime __c_ino.__uc_ino.__uc_old_atime
165 #define c_atime __c_ino.__uc_ino.__uc_atime
166 #define c_atimensec __c_ino.__uc_ino.__uc_atimensec
167 #define c_mtime __c_ino.__uc_ino.__uc_mtime
168 #define c_mtimensec __c_ino.__uc_ino.__uc_mtimensec
169 #define c_birthtime __c_ino.__uc_ino.__uc_birthtime
170 #define c_birthtimensec __c_ino.__uc_ino.__uc_birthtimensec
171 #define c_old_mtime __c_ino.__uc_ino.__uc_old_mtime
172 #define c_rdev __c_ino.__uc_ino.__uc_rdev
173 #define c_file_flags __c_ino.__uc_ino.__uc_file_flags
174 #define c_uid __c_ino.__uc_ino.__uc_uid
175 #define c_gid __c_ino.__uc_ino.__uc_gid
186 #define DR_NEWHEADER 0x0001
187 #define DR_NEWINODEFMT 0x0002
189 #define DUMPOUTFMT "%-18s %c %s"
191 #define DUMPINFMT "%18s %c %[^\n]\n"