version 1.19, 2010/12/21 22:37:59 |
version 1.20, 2011/01/01 03:32:28 |
|
|
int |
int |
cmd_server_info_exec(unused struct cmd *self, struct cmd_ctx *ctx) |
cmd_server_info_exec(unused struct cmd *self, struct cmd_ctx *ctx) |
{ |
{ |
struct tty_term *term; |
struct tty_term *term; |
struct client *c; |
struct client *c; |
struct session *s; |
struct session *s; |
struct winlink *wl; |
struct winlink *wl; |
struct window *w; |
struct window *w; |
struct window_pane *wp; |
struct window_pane *wp; |
struct tty_code *code; |
struct tty_code *code; |
struct tty_term_code_entry *ent; |
const struct tty_term_code_entry *ent; |
struct utsname un; |
struct utsname un; |
struct job *job; |
struct job *job; |
struct grid *gd; |
struct grid *gd; |
struct grid_line *gl; |
struct grid_line *gl; |
u_int i, j, k; |
u_int i, j, k; |
char out[80]; |
char out[80]; |
char *tim; |
char *tim; |
time_t t; |
time_t t; |
u_int lines, ulines; |
u_int lines, ulines; |
size_t size, usize; |
size_t size, usize; |
|
|
tim = ctime(&start_time); |
tim = ctime(&start_time); |
*strchr(tim, '\n') = '\0'; |
*strchr(tim, '\n') = '\0'; |