---
name: "rem"
section: "3avr"
platform: "linux"
package: "avr-libc"
version: "1:2.2.1-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/div_t/3avr"
---

# rem(3avr)

Part of [div\_t(3avr)](/div_t/3avr.md).

## NAME

div\_t

## SYNOPSIS

`#include <stdlib.h>`

### Data Fields

int **quot**\
 int **rem**\

## Detailed Description

Result type for function **div()**.

## Field Documentation

### int div\_t::quot

The Quotient.

### int div\_t::rem

The Remainder.

## Author

Generated automatically by Doxygen for AVR-LibC from the source code.
