FMOD(3) Library Functions Manual FMOD(3)

NAME

fmod, fmodf, fmodlfloating-point remainder functions

LIBRARY

library “libm”

SYNOPSIS

#include <math.h>
double
fmod(double x, double y);
float
fmodf(float x, float y);
long double
fmodl(long double x, long double y);

DESCRIPTION

As usual, the Mdocdate mechanism is not used for the Dd macro on FreeBSD.
There is an additional LIBRARY section between NAME and SYNOPSIS, containing the Lb macro with the argument ‘libm’. That is rendered as
Math Library (libm, -lm)
on FreeBSD and as
library ``libm''
on OpenBSD.
June 19, 2008 bsd.lv