# sincos(3m) [opensolaris man page]

```sincos(3M)						  Mathematical Library Functions						sincos(3M)

NAME
sincos, sincosf, sincosl - combined sine and cosine function

SYNOPSIS
c99 [ flag... ] file... -lm [ library... ]
#include <math.h>

void sincos(double x, double *s, double *c);

void sincosf(float x, float *s, float *c);

void sincosl(long double x, long double *s, long double *c);

DESCRIPTION
These functions compute the sine and cosine of the first argument x, measured in radians.

RETURN VALUES
Upon successful completion, these functions return the sine of x in *s and cosine of x in *c.

ATTRIBUTES
See attributes(5) for descriptions of the following attributes:

+-----------------------------+-----------------------------+
|      ATTRIBUTE TYPE	     |	    ATTRIBUTE VALUE	   |
+-----------------------------+-----------------------------+
|Interface Stability	     |Stable			   |
+-----------------------------+-----------------------------+
|MT-Level		     |MT-Safe			   |
+-----------------------------+-----------------------------+

SEE ALSO
cos(3M), sin(3M), math.h(3HEAD), attributes(5)

SunOS 5.11							    12 Jul 2006 							sincos(3M)```

## Check Out this Related Man Page

```sincos(3M)						  Mathematical Library Functions						sincos(3M)

NAME
sincos, sincosf, sincosl - combined sine and cosine function

SYNOPSIS
c99 [ flag... ] file... -lm [ library... ]
#include <math.h>

void sincos(double x, double *s, double *c);

void sincosf(float x, float *s, float *c);

void sincosl(long double x, long double *s, long double *c);

DESCRIPTION
These functions compute the sine and cosine of the first argument x, measured in radians.

RETURN VALUES
Upon successful completion, these functions return the sine of x in *s and cosine of x in *c.

ATTRIBUTES
See attributes(5) for descriptions of the following attributes:

+-----------------------------+-----------------------------+
|      ATTRIBUTE TYPE	     |	    ATTRIBUTE VALUE	   |
+-----------------------------+-----------------------------+
|Interface Stability	     |Stable			   |
+-----------------------------+-----------------------------+
|MT-Level		     |MT-Safe			   |
+-----------------------------+-----------------------------+

SEE ALSO
cos(3M), sin(3M), math.h(3HEAD), attributes(5)

SunOS 5.11							    12 Jul 2006 							sincos(3M)```
Man Page