GIT.Harvie.CZ
/
mirrors
/
Programs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3b2d1a
)
Update winsize.c
1/head
author
Shivaji Varma
<contact@shivajivarma.com>
Mon, 10 Nov 2014 10:45:24 +0000
(16:15 +0530)
committer
Shivaji Varma
<contact@shivajivarma.com>
Mon, 10 Nov 2014 10:45:24 +0000
(16:15 +0530)
c/winsize.c
patch
|
blob
|
blame
|
history
diff --git
a/c/winsize.c
b/c/winsize.c
index 03c1f7ce1155ba27bb110b1b27614dfbeead6006..3fbb76e894747ec9214aa4706509fb11548125e8 100644
(file)
--- a/
c/winsize.c
+++ b/
c/winsize.c
@@
-3,8
+3,7
@@
static int get_win_size (int fd, struct winsize *win)
{
- int err = ioctl (fd, TIOCGWINSZ, (char *) win);
- return err;
+ return ioctl (fd, TIOCGWINSZ, (char *) win);
}
int main(void) {
This page took
0.133644 seconds
and
4
git commands to generate.