---
name: "s3d_init"
section: "3"
platform: "linux"
package: "s3d-doc"
version: "0.2.2.1-7"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/s3d_init"
---

# s3d\_init(3)

initialize s3d library

## NAME

s3d\_init - initialize s3d library

## SYNOPSIS

```
#include <s3d.h>
```

**int s3d\_init(int \****argc***, char \*\*\****argv***, const char \****name***);**

## DESCRIPTION

This will initialize the s3d-library and the connection to the Server. It will return 0 on success in server initialization. name specifies the your programs name.

```
 int main(char argc, char **argv)
 {
         if (!s3d_init(&argc, &argv, "Hello world"))
         {
                 ...
                 s3d_quit();
         }
         return 0;
 }
```

## AUTHOR

**Simon Wunderlich**

Author of s3d
