# nan(3) [netbsd man page]

```NAN(3)							   BSD Library Functions Manual 						    NAN(3)

NAME
nan, nanf, nanl -- return quiet NaN

LIBRARY
Math Library (libm, -lm)

SYNOPSIS
#include <math.h>

double
nan(const char *tagp);

float
nanf(const char *tagp);

long double
nanl(const char *tagp);

DESCRIPTION
The call nan("n-char-sequence") is equivalent to the call strod("NAN(n-char-sequence)", NULL).  The call nan("") is equivalent to the call
strod("NAN()", NULL).

The nanf() and nanl() functions are equivalent to nan() but substituting strtof() and strtold(), respectively.

RETURN VALUES
IEEE 754
The nan(), nanf(), and nanl() functions return a quiet NaN as specified by tagp.

VAX
The nan(), nanf(), and nanl() functions return zero.

math(3), strtod(3)

STANDARDS
The nan(), nanf(), and nanl() functions conform to ISO/IEC 9899:1999 (``ISO C99'').

BSD								  March 15, 2006							       BSD```

## Check Out this Related Man Page

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

NAME
nan, nanf, nanl - return quiet NaN

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

double nan(const char *tagp);

float nanf(const char *tagp);

long double nanl(const char *tagp);

DESCRIPTION
The function call nan("n-char-sequence") is equivalent to:

strtod("NAN(n-char-sequence)", (char **) NULL);

The function call nan(" ") is equivalent to:

strtod("NAN()", (char **) NULL)

If tagp does not point to an n-char sequence or an empty string, the function call is equivalent to:

strtod("NAN", (char **) NULL)

Function calls to nanf() and nanl() are equivalent to the corresponding function calls to strtof() and strtold(). See strtod(3C).

RETURN VALUES
These functions return a quiet NaN.

ERRORS
No errors are defined.

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

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

math.h(3HEAD), strtod(3C), attributes(5), standards(5)

SunOS 5.10							    1 Sep 2002								   nan(3M)```
Man Page

## MC ServiceGaurd

I was just asked if I had any experience with MC ServiceGuard with HP-UX, when I used HP I didn't use it but I am curious about it and would like to see about learning it (it seems lots of HP jobs want experience with it.) Also is this a HP product or is it used on other types of *nix. Thanks for...

## SVM metastat -- needs maintenance

Running Solaris 9 with SVM. I'm not that familiar with it, but metastat output gives "needs maintenance" message on 2 of the mirrors. There are no errors in /var/adm/messages. What do I need to do to fix this error? Thanks.

## Root Folder Space Maintenance (SCO)

We have SCO Unix (realease 5.0.5b), Please advise which files can be safely deleted on the system root folder / to create space? These are mainly spool/message/history etc log files. Where they located and can they be deleted using rm? The server has been operational for the past 4 years. ...

## Machine is booting to maintenance mode.

I had a power failure the other day and when my relatively new Solaris 10 machine rebooted it is thrown into maintenance mode. I've found the following lines in the /var/adm/messages file, I'm assuming this is the root cause of the problem. However, I don't have the slightest idea on how to...

## Helpme !! ssh service in maintenance mode

Hi Guys, Virtual Machine - Solaris 10 ssh service is in maintenance mode, when i tried to disable it it got disabled but when i enabling it ( svcadm enable ssh) it is coming in maintenance mode...... Pls help

## Sorting problem: Multiple delimiters, multiple keys

Hello If you wanted to sort a .csv file that was filled with lines like this: <Ticker>,<Date as YYYYMMDD>,<Time as H:M:S>,<Volume>,<Corr> (H : , M, S: ) by date, does anybody know of a better solution than to turn the 3rd and 4th colons of every line into commas, sorting on four keys,...

## Scripting User Account Removal

Ok, so I've been looking all over the place for how exactly to do this and I've become so bombarded with information I finally decided I'll pose the question here. I'm not a programmer or anything that hardcore, but if I see things already implemented and working examples I can easily learn and...

## Solaris 10 system boots into Maintenance mode

I have seen similar threads on this issue, but I have not seen a fix. Basically I am getting a lot of rcp bind errors. Below find the output of "svcs -xv". not sure where to begin: # svcs -xv svc:/network/rpc/bind:default (RPC bindings) State: maintenance since Fri May 25 14:13:18 2012...

## Netra 440 maintenance light on

Hi All, I hope I'm posting this in the right forum, apologies if not. I have a Netra 440 server which has been showing an amber maintenance light for some time now. It first appeared when I upgraded the memory modules, but the new memory is working fine. All other components seem OK and the...

## How to make smtp:sendmail online from maintenance mode?

Hi Everyone, when i type "svcs -a | grep sendmail" it is giving the below output. \$ svcs -a | grep sendmail disabled Nov_05 svc:/network/sendmail-client:default maintenance 10:31:52 svc:/network/smtp:sendmail Can anyone help me that how to bring svc:/network/smtp:sendmail in...

## RHEL 5.9 going to maitenance mode

Hi.. I was installing one IBM s/w on RHEL 5.9. It got stuck and we killed the process at terminal Again we installed the s/w succesfully. But after that I tried to change the user. i.e., su testuser it was giving error. Permission denied. So I restarted the system. Now its going into...

## AIX 7.1 Upgrade problem

Hi all, I'm getting errors while booting AIX 7.1 after upgrade I have used FLRT tool for the process with the following input values shown in the attached photo. titled FLRT After reboot for the upgrade process system hangs and no response as shown in screenshot named AIX7.1-NormalBoot I...

## Any hope for this bootlooping Sun V210?

Hi, First post here! I have a Sun V210 that I use occasionally for build testing things big-endian. I switched it on the other day, at it aint comin' up. I was wondering if anyone on this fine forum knows if it can be brought back from the dead. With the SCC card in, and conencted to...