Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
FSEEK.3
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 1k
Category:
OS Develop
Development Platform:
WINDOWS
- FSEEK(3) Minix Programmer's Manual FSEEK(3)
- NAME
- fseek, ftell, rewind - reposition a stream
- SYNOPSIS
- #include <stdio.h>
- int fseek(FILE *stream, long offset, int ptrname)
- long ftell(FILE *stream)
- void rewind(FILE *stream)
- DESCRIPTION
- Fseek sets the position of the next input or output operation on the
- stream. The new position is at the signed distance offset bytes from the
- beginning, the current position, or the end of the file, according as
- ptrname has the value 0, 1, or 2.
- Fseek undoes any effects of ungetc(3).
- Ftell returns the current value of the offset relative to the beginning
- of the file associated with the named stream. It is measured in bytes on
- UNIX; on some other systems it is a magic cookie, and the only foolproof
- way to obtain an offset for fseek.
- Rewind(stream) is equivalent to fseek(stream, 0L, 0).
- SEE ALSO
- lseek(2), fopen(3).
- DIAGNOSTICS
- Fseek returns -1 for improper seeks, otherwise zero.
- February 24, 1986 1