[fs.file.status.obs]

# 31 Input/output library [[input.output]](./#input.output)

## 31.12 File systems [[filesystems]](filesystems#fs.file.status.obs)

### 31.12.9 Class file_status [[fs.class.file.status]](fs.class.file.status#fs.file.status.obs)

#### 31.12.9.3 Observers [fs.file.status.obs]

[ð](#lib:type,file_status)

`file_type type() const noexcept;
`

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L15994)

*Returns*: The value of type() specified by the postconditions of the most recent call to a constructor, operator=, or type(file_type) function[.](#1.sentence-1)

[ð](#lib:permissions,file_status)

`perms permissions() const noexcept;
`

[2](#2)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L16006)

*Returns*: The value of permissions() specified by the postconditions of the most recent call to a constructor, operator=, or permissions(perms) function[.](#2.sentence-1)
