WCM - Das österreichische Computer Magazin Forenübersicht
 

Zurück   WCM Forum > Rat & Tat > Programmierung

Programmierung Rat & Tat für Programmierer

Microsoft KARRIERECAMPUS

Antwort
 
Themen-Optionen Ansicht
Alt 12.10.2004, 14:39   #1
CISK
Inventar
 
Registriert seit: 24.05.2001
Alter: 40
Beiträge: 3.387

Mein Computer

Standard kurze C frage - dateizugriff fseek, rewind

ganz dumme frage

bewirke ich mit


rewind(datei);
und
fseek(datei,0L,SEEK_SET);

eh das gleiche oder??
CISK ist offline   Mit Zitat antworten
Alt 12.10.2004, 15:28   #2
käptn
Inventar
 
Registriert seit: 04.11.2001
Alter: 45
Beiträge: 2.150


Standard

$ man 3 fseek

Code:
       The  rewind  function  sets  the file position indicator for the stream
       pointed to by stream to the beginning of the file.   It  is  equivalent
       to:

              (void)fseek(stream, 0L, SEEK_SET)

       except  that  the  error  indicator for the stream is also cleared (see
       clearerr(3)).
~
____________________________________
LOL - Mein erstes Post im Programmier Forum

MACINTOSH - Most Applications Crash, If Not The Operating System Hangs
käptn ist offline   Mit Zitat antworten
Alt 12.10.2004, 15:32   #3
CISK
Inventar
 
Registriert seit: 24.05.2001
Alter: 40
Beiträge: 3.387

Mein Computer

Standard

ha danke
CISK ist offline   Mit Zitat antworten
Antwort


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.

Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 01:32 Uhr.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
© 2009 FSL Verlag