Comment on Tutorial - lseek() sample program in C By Baski



Comment Added by : Terry

Comment Added at : 2009-09-27 13:15:56

Comment on Tutorial : lseek() sample program in C By Baski
To determine current location in a file:
{
if (lseek(STDIN_FILENO, 0, SEEK_CUR) == -1)
printf ("cannot seek\n");
else
printf("seek at %d", &SEEK_CUR);
exit(0);
}


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. thanks to this site which get me understand about
View Tutorial          By: Sayak at 2012-10-08 15:57:25

2. Hey thnx. Solved my "inconvinience" ;P
View Tutorial          By: Hesam Ossanloo at 2013-12-19 15:13:31

3. the program does run thank you for that .....

View Tutorial          By: VIKRAM at 2007-03-12 13:34:24

4. Great tutorial
View Tutorial          By: Stephen at 2014-07-21 12:08:32

5. The best explanation....Thanq :)
View Tutorial          By: Gautham at 2012-01-29 05:05:48

6. good explanation with sample example makes me to u
View Tutorial          By: jagan.java at 2013-01-04 09:10:21

7. Wow Such a good tutorial. It really really make me
View Tutorial          By: Anonymous at 2010-02-19 05:53:11

8. I went befly through this, it is woderful, usefull
View Tutorial          By: Mallikarjuna.N at 2009-11-28 11:41:58

9. Really great way of explanation..... :)
Tha

View Tutorial          By: akram at 2010-07-08 04:07:17

10. hi.I am new in j2me and really want to learn more
View Tutorial          By: snehal at 2011-12-01 11:46:22