Subversion Repositories SvarDOS

Rev

Rev 437 | Rev 530 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 437 Rev 445
Line 30... Line 30...
30
 
30
 
31
/* returns zero if s1 starts with s2 */
31
/* returns zero if s1 starts with s2 */
32
int strstartswith(const char *s1, const char *s2);
32
int strstartswith(const char *s1, const char *s2);
33
 
33
 
34
/* outputs a NULL-terminated string to stdout */
34
/* outputs a NULL-terminated string to stdout */
35
void output_internal(const char *s, unsigned short nl);
35
void output_internal(const char *s, unsigned char nl);
36
 
36
 
37
/* outputs a NULL-terminated NLS string to stdout */
37
/* outputs a NULL-terminated NLS string to stdout */
38
void nls_output_internal(unsigned short id, unsigned short nl);
38
void nls_output_internal(unsigned short id, unsigned char nl);
39
 
39
 
40
#define output(x) output_internal(x, 0)
40
#define output(x) output_internal(x, 0)
41
#define outputnl(x) output_internal(x, 1)
41
#define outputnl(x) output_internal(x, 1)
42
#define nls_output(x,y) nls_output_internal((x << 8) | y, 0)
42
#define nls_output(x,y) nls_output_internal((x << 8) | y, 0)
43
#define nls_outputnl(x,y) nls_output_internal((x << 8) | y, 1)
43
#define nls_outputnl(x,y) nls_output_internal((x << 8) | y, 1)