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. As C does not support Function Overloading, there
View Tutorial          By: N at 2013-03-06 00:27:14

2. Hi,
Its good but you can make it more bette

View Tutorial          By: vishakha sharma at 2010-12-15 06:14:52

3. could you guys maybe give an example using a 3 dim
View Tutorial          By: Steve at 2011-06-08 12:14:13

4. Thanks a lot for valuable program.


View Tutorial          By: Kailash at 2012-07-30 10:09:12

5. hi,

i am trying to run this SMS jav

View Tutorial          By: Raghavendra at 2010-12-29 08:27:02

6. HI.....

javax.comm.NoSuchPortExcept

View Tutorial          By: RAHUL at 2010-12-28 22:59:41

7. Thanks for the clear explanation..
Really h

View Tutorial          By: Swj at 2011-12-30 05:55:26

8. where is the main class .
View Tutorial          By: rishi at 2015-10-02 10:17:17

9. having errors in the programme
View Tutorial          By: dfdff at 2011-12-21 11:42:10

10. plz give me for css coding
View Tutorial          By: anil mani at 2008-04-19 01:20:06