diff options
author | liljencrantz <liljencrantz@gmail.com> | 2008-01-14 02:47:47 +1000 |
---|---|---|
committer | liljencrantz <liljencrantz@gmail.com> | 2008-01-14 02:47:47 +1000 |
commit | 87db9517e928c9007c66ed5b23836db2dad2b693 (patch) | |
tree | edfe373687a5afb9ba5360a456e3096d7bf2df85 /fallback.h | |
parent | ab3502fc8b25469429af25a94306346af590428c (diff) |
Add lots of new code comments.
darcs-hash:20080113164747-75c98-9d0cefd27be7aef7ba60772616d9da7e6bb52912.gz
Diffstat (limited to 'fallback.h')
-rw-r--r-- | fallback.h | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -54,9 +54,18 @@ typedef char tputs_arg_t; #endif #ifndef HAVE_WINSIZE +/** + Structure used to get the size of a terminal window + */ struct winsize { + /** + Number of rows + */ unsigned short ws_row; + /** + Number of columns + */ unsigned short ws_col; } ; @@ -400,17 +409,35 @@ extern int _nl_msg_cat_cntr; #ifndef HAVE_KILLPG +/** + Send specified signal to specified process group. + */ int killpg( int pgr, int sig ); #endif #ifndef HAVE_WORKING_GETOPT_LONG +/** + Struct describing a long getopt option + */ struct option { + /** + Name of option + */ const char *name; + /** + Flag + */ int has_arg; + /** + Flag + */ int *flag; + /** + Return value + */ int val; } ; |