I would loke to read the WTMP file. This is a binary file in the /var/logs directory. Is there any utility which will convert this binary file to ASCII format? (1 Reply)
sorry, it is a dumb question, but i could not find any answer in anything else.
does anybody know whether there is any postscript file reader for HP-Unix?
:) (1 Reply)
I recently installed Suse 8.0 and am in need of a dependable news group reader. I need something that will authenticate just like Outlook Express does, because I will connecting to an Exchange News Host. Does anyone have any suggestions as to what I should donwload for a Microsoft compatible news... (2 Replies)
Hi All,
has anyone found any document file reader for HPUX? I have been finding myself in trouble without having one.. if there is nothing that exist, I am thinking of developing one of my own through C, Not being a professional C programmer, I need to have a good start.. can someone please throw... (0 Replies)
For a job I have to do, I have to design a .tga file reader, however I have had no prior experience in this area, so I was wondering what would be the best language to use to develop my .tga reader ?
many thanks (1 Reply)
which package is to be installed to view pdf files in AIX machine? i already have xpdf version 1...but, some pdf files are not opening in it.help me out. (1 Reply)
sorry if i repost this...
hi.. i want to ask how to open pdf files using C in Linux
in Windows, i just use this code:
ShellExecute(GetDesktopWindow(), "open", "D:\\Folder\\File.pdf", NULL, NULL, SW_SHOWNORMAL);
thanks for advance... (3 Replies)
I have a serial barcode reader which I attached to my Solaris 10 workstation. I can see the barcode scanned data appearing when I do a tip hardwire.
Question is how can I enable the data to appear in command prompt or any text editor programs?
Thanks for the help (3 Replies)
Hi ,
I have gzip file.
Is it possible to script a code which can read from compressed byte offset to uncompressed byte length?
Regards,
Chetan.C (5 Replies)
Discussion started by: chetan.c
5 Replies
LEARN ABOUT REDHAT
fgetc
GETS(3) Linux Programmer's Manual GETS(3)NAME
fgetc, fgets, getc, getchar, gets, ungetc - input of characters and strings
SYNOPSIS
#include <stdio.h>
int fgetc(FILE *stream);
char *fgets(char *s, int size, FILE *stream);
int getc(FILE *stream);
int getchar(void);
char *gets(char *s);
int ungetc(int c, FILE *stream);
DESCRIPTION
fgetc() reads the next character from stream and returns it as an unsigned char cast to an int, or EOF on end of file or error.
getc() is equivalent to fgetc() except that it may be implemented as a macro which evaluates stream more than once.
getchar() is equivalent to getc(stdin).
gets() reads a line from stdin into the buffer pointed to by s until either a terminating newline or EOF, which it replaces with '