Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
f542a5de
Kaydet (Commit)
f542a5de
authored
Kas 08, 2001
tarafından
Tino Rachui
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#92635#class File now has a method isEndOfFile
üst
a35db968
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
2 deletions
+27
-2
file.hxx
sal/inc/osl/file.hxx
+27
-2
No files found.
sal/inc/osl/file.hxx
Dosyayı görüntüle @
f542a5de
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: file.hxx,v $
*
* $Revision: 1.1
7
$
* $Revision: 1.1
8
$
*
* last change: $Author:
obr $ $Date: 2001-10-12 13:27:05
$
* last change: $Author:
tra $ $Date: 2001-11-08 13:55:24
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -800,6 +800,31 @@ public:
return
(
RC
)
osl_getFilePos
(
_pData
,
&
uPos
);
}
/** Tests if the end of a file is reached.
@param pIsEOF [out] Points to a variable that receives the end of file
status.
@return E_None on success otherwise one of the following errorcodes:<p>
E_INVAL the format of the parameter was not valid<br>
These errorcodes can (eventually) be returned:<p>
E_INTR function call was interrupted<br>
E_IO I/O error<br>
E_ISDIR Is a directory<br>
E_BADF Bad file<br>
E_FAULT Bad address<br>
E_AGAIN Operation would block<br>
E_NOLINK Link has been severed<p>
@see open
@see read
@see readLine
@see setFilePos
*/
inline
RC
isEndOfFile
(
sal_Bool
*
pIsEOF
)
{
return
(
RC
)
osl_isEndOfFile
(
_pData
,
pIsEOF
);
}
/** Sets the file size of an open file. The file can be truncated or enlarged by the function.
The position of the file pointer is not affeced by this function.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment