diff options
Diffstat (limited to '')
-rw-r--r-- | libred_solar_elevation.3 | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/libred_solar_elevation.3 b/libred_solar_elevation.3 index 9bb4b0a..fa2df7e 100644 --- a/libred_solar_elevation.3 +++ b/libred_solar_elevation.3 @@ -5,11 +5,12 @@ libred_solar_elevation \- Calculate the Sun's apparent elevation .nf #include <libred.h> -int \fBlibred_solar_elevation\fP(double \fIlatitude\fP, double \fIlongitude\fP, double *\felevation\fP); +int \fBlibred_solar_elevation\fP(double \fIlatitude\fP, double \fIlongitude\fP, double *\fIelevation\fP); .fi .PP Link with -.IR -lred . +.I -lred +.IR -lm . .SH DESCRIPTION .BR libred_solar_elevation () calculates the Sun's elevation, and stores it, measured in degrees, in @@ -27,11 +28,13 @@ Other values may or may not work, no error is thrown if used. .SH RETURN VALUE Upon successful completion, the .BR libred_solar_elevation () -return 0, on failure it returns -1 and sets +function returns 0, on failure it returns -1 and sets .I errno to indicate the error. .SH ERRORS -The function may fail for any reason specified for +The +.BR libred_solar_elevation () +function may fail for any reason specified for .BR clock_gettime (3). .SH SEE ALSO .BR libred.h (0), |