Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 628 Bytes

File metadata and controls

16 lines (12 loc) · 628 Bytes
description Learn more about: File Position Errors
title File Position Errors
ms.date 11/04/2016
helpviewer_keywords
file pointers [C++], file position errors
ms.assetid d5e59d8b-08c0-4927-a338-0b2d8234ce24

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