summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFranklin S. Cooper Jr2012-11-11 22:01:40 -0600
committerFranklin S. Cooper Jr2012-11-11 22:01:40 -0600
commit1f11a23be4386c2ee0387cd12c1a9569c703a3bb (patch)
tree017dac242d36aa1731f88b161e0946d68534d4cf
parent04e7e3971882267fec6c904f6fe305db0e8ca73d (diff)
downloadscreenshot-1f11a23be4386c2ee0387cd12c1a9569c703a3bb.tar.gz
screenshot-1f11a23be4386c2ee0387cd12c1a9569c703a3bb.tar.xz
screenshot-1f11a23be4386c2ee0387cd12c1a9569c703a3bb.zip
screenshot: Finish screenshot renaming
-rw-r--r--screenshot.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/screenshot.c b/screenshot.c
index bb6b1f6..d8e85c9 100644
--- a/screenshot.c
+++ b/screenshot.c
@@ -16,9 +16,9 @@
16 16
17/* Function Prototypes */ 17/* Function Prototypes */
18int output_bmp(unsigned char * buf, int x_res, int y_res, int bits_per_pixel, char * filename); 18int output_bmp(unsigned char * buf, int x_res, int y_res, int bits_per_pixel, char * filename);
19int screenShot(char *); 19int screenshot(char *);
20 20
21/* screenShot - This function to capture the current frame buffer. 21/* screenshot - This function to capture the current frame buffer.
22 * 22 *
23 * Return type: int 23 * Return type: int
24 * 0 - For Success 24 * 0 - For Success
@@ -26,7 +26,7 @@ int screenShot(char *);
26 * -2 - Writing image to output file failed 26 * -2 - Writing image to output file failed
27 * -3 - Reading Frame Buffer failed 27 * -3 - Reading Frame Buffer failed
28 */ 28 */
29int screenShot (char * filename) 29int screenshot (char * filename)
30{ 30{
31 struct fb_var_screeninfo vinfo; 31 struct fb_var_screeninfo vinfo;
32 struct fb_fix_screeninfo fix; 32 struct fb_fix_screeninfo fix;
@@ -91,11 +91,11 @@ int main (int argc, char **argv)
91{ 91{
92 if(argc < 2 || argc > 2) 92 if(argc < 2 || argc > 2)
93 { 93 {
94 printf("usage: screenShot filename\n"); 94 printf("usage: screenshot filename\n");
95 exit(1); 95 exit(1);
96 } 96 }
97 97
98 screenShot(argv[1]); 98 screenshot(argv[1]);
99 return(0); 99 return(0);
100 100
101} 101}