libpayload: remove trailing whitespace and run dos2unix
[coreboot.git] / payloads / libpayload / curses / PDCurses-3.4 / pdcurses / util.c
index f0673fca4a2418813e458d8df93466ed44c34ddb..9972143516e4ce10ceeca5a67352a9a592bf60c1 100644 (file)
@@ -25,38 +25,38 @@ RCSID("$Id: util.c,v 1.71 2008/07/13 16:08:18 wmcbrine Exp $")
         size_t PDC_wcstombs(char *dest, const wchar_t *src, size_t n);
 
   Description:
-        unctrl() expands the text portion of the chtype c into a 
-        printable string. Control characters are changed to the "^X" 
-        notation; others are passed through. wunctrl() is the wide- 
+        unctrl() expands the text portion of the chtype c into a
+        printable string. Control characters are changed to the "^X"
+        notation; others are passed through. wunctrl() is the wide-
         character version of the function.
 
         filter() and use_env() are no-ops in PDCurses.
 
         delay_output() inserts an ms millisecond pause in output.
 
-        getcchar() works in two modes: When wch is not NULL, it reads 
-        the cchar_t pointed to by wcval and stores the attributes in 
+        getcchar() works in two modes: When wch is not NULL, it reads
+        the cchar_t pointed to by wcval and stores the attributes in
         attrs, the color pair in color_pair, and the text in the
-        wide-character string wch. When wch is NULL, getcchar() merely 
-        returns the number of wide characters in wcval. In either mode, 
+        wide-character string wch. When wch is NULL, getcchar() merely
+        returns the number of wide characters in wcval. In either mode,
         the opts argument is unused.
 
-        setcchar constructs a cchar_t at wcval from the wide-character 
-        text at wch, the attributes in attr and the color pair in 
+        setcchar constructs a cchar_t at wcval from the wide-character
+        text at wch, the attributes in attr and the color pair in
         color_pair. The opts argument is unused.
 
         Currently, the length returned by getcchar() is always 1 or 0.
         Similarly, setcchar() will only take the first wide character
         from wch, and ignore any others that it "should" take (i.e.,
-        combining characters). Nor will it correctly handle any 
+        combining characters). Nor will it correctly handle any
         character outside the basic multilingual plane (UCS-2).
 
   Return Value:
-        unctrl() and wunctrl() return NULL on failure. delay_output() 
+        unctrl() and wunctrl() return NULL on failure. delay_output()
         always returns OK.
 
-        getcchar() returns the number of wide characters wcval points to 
-        when wch is NULL; when it's not, getcchar() returns OK or ERR. 
+        getcchar() returns the number of wide characters wcval points to
+        when wch is NULL; when it's not, getcchar() returns OK or ERR.
 
         setcchar() returns OK or ERR.