---
name: "rdsenv"
section: "3"
platform: "linux"
package: "alliance"
version: "5.1.1-3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/rdsenv"
---

# rdsenv(3)

set user preference

## NAME

rdsenv - set user preference

## SYNOPSYS

```
#include "rtlnnn.h"
void rdsenv()
```

## PARAMETER

none

## DESCRIPTION

The *rdsenv* function sets the user preferences through  unix environment variables. if all the variables are not defined, default values are used.

- *RDS\_TECHNO\_NAME*

  Path to the RDS technology file. The default value is "/labo/etc/cmos.rds".

- *RDS\_IN*

  Defines the physical input file format demanded by the user. The two possible formats are "cif" and "gds". By default, its value is set to "gds".

- *RDS\_OUT*

  Defines the physical output file format demanded by the user. The two possible formats are "cif" and "gds". By default, its value is set to "gds".

## RETURN VALUE

none

## ERRORS

nothing

## EXAMPLE

```
        #include "mutnnn.h"
        #include "rtlnnn.h"
        main()
         {
           rdsfig_list ∗RdsFigure;
           mbkenv();
           /∗ ∗/ rdsenv ();
           loadrdsparam();
           loadrdsfig(RdsFigure, "core", 'A');
         }
```

## SEE ALSO

**librtl,** **loadrdsfig,** **saverdsfig,** **RDS\_IN,** **RDS\_OUT,** **RDS\_TECHNO\_NAME**
