Skip to content

Latest commit

 

History

History
41 lines (39 loc) · 1004 Bytes

File metadata and controls

41 lines (39 loc) · 1004 Bytes
title File Position Errors | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-language
ms.tgt_pltfrm
ms.topic article
dev_langs
C++
helpviewer_keywords
file pointers [C++], file position errors
ms.assetid d5e59d8b-08c0-4927-a338-0b2d8234ce24
caps.latest.revision 6
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

File Position Errors

ANSI 4.9.9.1, 4.9.9.4 The value to which the macro errno is set by the fgetpos or ftell function on failure

When fgetpos or ftell fails, errno is set to the manifest constant EINVAL if the position is invalid or EBADF if the file number is bad. The constants are defined in ERRNO.H.

See Also

Library Functions