---
name: "gfs_pio_getc"
section: "3"
platform: "linux"
package: "libgfarm-dev"
version: "2.4.1-1.1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/gfs_pio_getc"
---

# gfs\_pio\_getc(3)

input of a charactor

## NAME

gfs\_pio\_getc - input of a charactor

## SYNOPSIS

**#include \<gfarm/gfarm.h\>**

**int gfs\_pio\_getc (GFS\_File** *gf***);**

## DESCRIPTION

**gfs\_pio\_getc()** reads the next character from *gf*.

## RETURN VALUES

- **EOF**

  **gfs\_pio\_getc()** encountered end of file or error.  EOF is defined in \<stdio.h\>.  **[gfs\_pio\_error(3)](/gfs_pio_error/3.md)** is used to know end of file or error.

- **Others**

  **gfs\_pio\_getc()** returns the next character from the file.

## SEE ALSO

[**gfs\_pio\_create**(3)](/gfs_pio_create/3.md), [**gfs\_pio\_eof**(3)](/gfs_pio_eof/3.md), [**gfs\_pio\_error**(3)](/gfs_pio_error/3.md), [**gfs\_pio\_open**(3)](/gfs_pio_open/3.md), [**gfs\_pio\_ungetc**(3)](/gfs_pio_ungetc/3.md)
