summaryrefslogtreecommitdiff
path: root/payloads/libpayload/curses/PDCurses-3.4/pdcurses/scr_dump.c
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2011-10-31 12:54:00 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2011-11-01 19:08:23 +0100
commite11835e2995d130890ca9f45cb3e304f2ea3a6a9 (patch)
treecfc5345e9d98b231de0699714771a5d7f54c6ce1 /payloads/libpayload/curses/PDCurses-3.4/pdcurses/scr_dump.c
parentdd6906328904309e4d93e4bcb04a6cfa3646f29d (diff)
libpayload: remove trailing whitespace and run dos2unix
Change-Id: Iffed3602456f5306711c65f06c873c58d4086e11 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/363 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'payloads/libpayload/curses/PDCurses-3.4/pdcurses/scr_dump.c')
-rw-r--r--payloads/libpayload/curses/PDCurses-3.4/pdcurses/scr_dump.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/payloads/libpayload/curses/PDCurses-3.4/pdcurses/scr_dump.c b/payloads/libpayload/curses/PDCurses-3.4/pdcurses/scr_dump.c
index e02046e5ff..6727ba36a2 100644
--- a/payloads/libpayload/curses/PDCurses-3.4/pdcurses/scr_dump.c
+++ b/payloads/libpayload/curses/PDCurses-3.4/pdcurses/scr_dump.c
@@ -17,32 +17,32 @@ RCSID("$Id: scr_dump.c,v 1.30 2008/07/13 16:08:18 wmcbrine Exp $")
int scr_set(const char *filename);
Description:
- getwin() reads window-related data previously stored in a file
- by putwin(). It then creates and initialises a new window using
+ getwin() reads window-related data previously stored in a file
+ by putwin(). It then creates and initialises a new window using
that data.
- putwin() writes all data associated with a window into a file,
- using an unspecified format. This information can be retrieved
+ putwin() writes all data associated with a window into a file,
+ using an unspecified format. This information can be retrieved
later using getwin().
- scr_dump() writes the current contents of the virtual screen to
+ scr_dump() writes the current contents of the virtual screen to
the file named by filename in an unspecified format.
- scr_restore() function sets the virtual screen to the contents
- of the file named by filename, which must have been written
- using scr_dump(). The next refresh operation restores the screen
+ scr_restore() function sets the virtual screen to the contents
+ of the file named by filename, which must have been written
+ using scr_dump(). The next refresh operation restores the screen
to the way it looked in the dump file.
- In PDCurses, scr_init() does nothing, and scr_set() is a synonym
- for scr_restore(). Also, scr_dump() and scr_restore() save and
- load from curscr. This differs from some other implementations,
- where scr_init() works with curscr, and scr_restore() works with
- newscr; but the effect should be the same. (PDCurses has no
+ In PDCurses, scr_init() does nothing, and scr_set() is a synonym
+ for scr_restore(). Also, scr_dump() and scr_restore() save and
+ load from curscr. This differs from some other implementations,
+ where scr_init() works with curscr, and scr_restore() works with
+ newscr; but the effect should be the same. (PDCurses has no
newscr.)
Return Value:
- On successful completion, getwin() returns a pointer to the
- window it created. Otherwise, it returns a null pointer. Other
+ On successful completion, getwin() returns a pointer to the
+ window it created. Otherwise, it returns a null pointer. Other
functions return OK or ERR.
Portability X/Open BSD SYS V