|
Oliver Falk |
1cf29e |
diff -Nur fish-1.21.2-orig/fallback.h fish-1.21.2/fallback.h
|
|
Oliver Falk |
1cf29e |
--- fish-1.21.2-orig/fallback.h 2006-03-09 13:01:19.000000000 +0100
|
|
Oliver Falk |
1cf29e |
+++ fish-1.21.2/fallback.h 2006-03-10 17:03:15.000000000 +0100
|
|
Oliver Falk |
1cf29e |
@@ -31,7 +31,7 @@
|
|
Oliver Falk |
1cf29e |
strings and decimal numbers, position (%n), field width and
|
|
Oliver Falk |
1cf29e |
precision.
|
|
Oliver Falk |
1cf29e |
*/
|
|
Oliver Falk |
1cf29e |
-int fwprintf( FILE *f, const wchar_t *format, ... );
|
|
Oliver Falk |
1cf29e |
+
|
|
Oliver Falk |
1cf29e |
|
|
Oliver Falk |
1cf29e |
|
|
Oliver Falk |
1cf29e |
/**
|
|
Oliver Falk |
1cf29e |
@@ -41,7 +41,7 @@
|
|
Oliver Falk |
1cf29e |
strings and decimal numbers, position (%n), field width and
|
|
Oliver Falk |
1cf29e |
precision.
|
|
Oliver Falk |
1cf29e |
*/
|
|
Oliver Falk |
1cf29e |
-int swprintf( wchar_t *str, size_t l, const wchar_t *format, ... );
|
|
Oliver Falk |
1cf29e |
+
|
|
Oliver Falk |
1cf29e |
|
|
Oliver Falk |
1cf29e |
/**
|
|
Oliver Falk |
1cf29e |
Print formated string. Some operating systems (Like NetBSD) do not
|
|
Oliver Falk |
1cf29e |
@@ -50,7 +50,7 @@
|
|
Oliver Falk |
1cf29e |
strings and decimal numbers, position (%n), field width and
|
|
Oliver Falk |
1cf29e |
precision.
|
|
Oliver Falk |
1cf29e |
*/
|
|
Oliver Falk |
1cf29e |
-int wprintf( const wchar_t *format, ... );
|
|
Oliver Falk |
1cf29e |
+
|
|
Oliver Falk |
1cf29e |
|
|
Oliver Falk |
1cf29e |
/**
|
|
Oliver Falk |
1cf29e |
Print formated string. Some operating systems (Like NetBSD) do not
|
|
Oliver Falk |
1cf29e |
@@ -59,7 +59,7 @@
|
|
Oliver Falk |
1cf29e |
strings and decimal numbers, position (%n), field width and
|
|
Oliver Falk |
1cf29e |
precision.
|
|
Oliver Falk |
1cf29e |
*/
|
|
Oliver Falk |
1cf29e |
-int vwprintf( const wchar_t *filter, va_list va );
|
|
Oliver Falk |
1cf29e |
+
|
|
Oliver Falk |
1cf29e |
|
|
Oliver Falk |
1cf29e |
/**
|
|
Oliver Falk |
1cf29e |
Print formated string. Some operating systems (Like NetBSD) do not
|
|
Oliver Falk |
1cf29e |
@@ -68,7 +68,7 @@
|
|
Oliver Falk |
1cf29e |
strings and decimal numbers, position (%n), field width and
|
|
Oliver Falk |
1cf29e |
precision.
|
|
Oliver Falk |
1cf29e |
*/
|
|
Oliver Falk |
1cf29e |
-int vfwprintf( FILE *f, const wchar_t *filter, va_list va );
|
|
Oliver Falk |
1cf29e |
+
|
|
Oliver Falk |
1cf29e |
|
|
Oliver Falk |
1cf29e |
/**
|
|
Oliver Falk |
1cf29e |
Print formated string. Some operating systems (Like NetBSD) do not
|
|
Oliver Falk |
1cf29e |
@@ -77,31 +77,31 @@
|
|
Oliver Falk |
1cf29e |
strings and decimal numbers, position (%n), field width and
|
|
Oliver Falk |
1cf29e |
precision.
|
|
Oliver Falk |
1cf29e |
*/
|
|
Oliver Falk |
1cf29e |
-int vswprintf( wchar_t *out, size_t n, const wchar_t *filter, va_list va );
|
|
Oliver Falk |
1cf29e |
+
|
|
Oliver Falk |
1cf29e |
|
|
Oliver Falk |
1cf29e |
/**
|
|
Oliver Falk |
1cf29e |
Fallback implementation of fgetwc
|
|
Oliver Falk |
1cf29e |
*/
|
|
Oliver Falk |
1cf29e |
-wint_t fgetwc(FILE *stream);
|
|
Oliver Falk |
1cf29e |
+
|
|
Oliver Falk |
1cf29e |
|
|
Oliver Falk |
1cf29e |
/**
|
|
Oliver Falk |
1cf29e |
Fallback implementation of getwc
|
|
Oliver Falk |
1cf29e |
*/
|
|
Oliver Falk |
1cf29e |
-wint_t getwc(FILE *stream);
|
|
Oliver Falk |
1cf29e |
+
|
|
Oliver Falk |
1cf29e |
|
|
Oliver Falk |
1cf29e |
/**
|
|
Oliver Falk |
1cf29e |
Fallback implementation of fputwc
|
|
Oliver Falk |
1cf29e |
*/
|
|
Oliver Falk |
1cf29e |
-wint_t fputwc(wchar_t wc, FILE *stream);
|
|
Oliver Falk |
1cf29e |
+
|
|
Oliver Falk |
1cf29e |
/**
|
|
Oliver Falk |
1cf29e |
Fallback implementation of putwc
|
|
Oliver Falk |
1cf29e |
*/
|
|
Oliver Falk |
1cf29e |
-wint_t putwc(wchar_t wc, FILE *stream);
|
|
Oliver Falk |
1cf29e |
+
|
|
Oliver Falk |
1cf29e |
|
|
Oliver Falk |
1cf29e |
/**
|
|
Oliver Falk |
1cf29e |
Fallback implementation of wcstok. Uses code borrowed from glibc.
|
|
Oliver Falk |
1cf29e |
*/
|
|
Oliver Falk |
1cf29e |
-wchar_t *wcstok(wchar_t *wcs, const wchar_t *delim, wchar_t **ptr);
|
|
Oliver Falk |
1cf29e |
+
|
|
Oliver Falk |
1cf29e |
|
|
Oliver Falk |
1cf29e |
|
|
Oliver Falk |
1cf29e |
/**
|
|
Oliver Falk |
1cf29e |
@@ -115,15 +115,15 @@
|
|
Oliver Falk |
1cf29e |
real wcwidth. Therefore, the fallback wcwidth assumes any printing
|
|
Oliver Falk |
1cf29e |
character takes up one column and anything else uses 0 columns.
|
|
Oliver Falk |
1cf29e |
*/
|
|
Oliver Falk |
1cf29e |
-int wcwidth( wchar_t c );
|
|
Oliver Falk |
1cf29e |
+
|
|
Oliver Falk |
1cf29e |
|
|
Oliver Falk |
1cf29e |
/**
|
|
Oliver Falk |
1cf29e |
Create a duplicate string. Wide string version of strdup. Will
|
|
Oliver Falk |
1cf29e |
automatically exit if out of memory.
|
|
Oliver Falk |
1cf29e |
*/
|
|
Oliver Falk |
1cf29e |
-wchar_t *wcsdup(const wchar_t *in);
|
|
Oliver Falk |
1cf29e |
|
|
Oliver Falk |
1cf29e |
-size_t wcslen(const wchar_t *in);
|
|
Oliver Falk |
1cf29e |
+
|
|
Oliver Falk |
1cf29e |
+
|
|
Oliver Falk |
1cf29e |
|
|
Oliver Falk |
1cf29e |
/**
|
|
Oliver Falk |
1cf29e |
Case insensitive string compare function. Wide string version of
|
|
Oliver Falk |
1cf29e |
@@ -136,7 +136,7 @@
|
|
Oliver Falk |
1cf29e |
fish and guaranteed to be a sane, english word. Using wcscasecmp on
|
|
Oliver Falk |
1cf29e |
a user-supplied string should be considered a bug.
|
|
Oliver Falk |
1cf29e |
*/
|
|
Oliver Falk |
1cf29e |
-int wcscasecmp( const wchar_t *a, const wchar_t *b );
|
|
Oliver Falk |
1cf29e |
+
|
|
Oliver Falk |
1cf29e |
|
|
Oliver Falk |
1cf29e |
/**
|
|
Oliver Falk |
1cf29e |
Case insensitive string compare function. Wide string version of
|
|
Oliver Falk |
1cf29e |
@@ -149,7 +149,7 @@
|
|
Oliver Falk |
1cf29e |
fish and guaranteed to be a sane, english word. Using wcsncasecmp on
|
|
Oliver Falk |
1cf29e |
a user-supplied string should be considered a bug.
|
|
Oliver Falk |
1cf29e |
*/
|
|
Oliver Falk |
1cf29e |
-int wcsncasecmp( const wchar_t *a, const wchar_t *b, int count );
|
|
Oliver Falk |
1cf29e |
+
|
|
Oliver Falk |
1cf29e |
|
|
Oliver Falk |
1cf29e |
/**
|
|
Oliver Falk |
1cf29e |
Returns a newly allocated wide character string wich is a copy of
|
|
Oliver Falk |
1cf29e |
@@ -173,9 +173,6 @@
|
|
Oliver Falk |
1cf29e |
to represent numbers higher than 9. Higher bases than 36 are not
|
|
Oliver Falk |
1cf29e |
supported.
|
|
Oliver Falk |
1cf29e |
*/
|
|
Oliver Falk |
1cf29e |
-long wcstol(const wchar_t *nptr,
|
|
Oliver Falk |
1cf29e |
- wchar_t **endptr,
|
|
Oliver Falk |
1cf29e |
- int base);
|
|
Oliver Falk |
1cf29e |
|
|
Oliver Falk |
1cf29e |
|
|
Oliver Falk |
1cf29e |
|