Scroll to navigation

S3D_INIT(3) s3d Manual S3D_INIT(3)

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
s3d