SilverScreen Solid Modeler

getcwd

getcwd

This is the first topic This is the last topic  

getcwd

This is the first topic This is the last topic JavaScript is required for the print function  

 

SilverScreenAPI

 

char *getcwd(char *buf, int length)

 

char *buf;   // A pointer to a character buffer

int  length; // An integer value

 

 




Synopsis

#include "silver.h"

 

The getcwd function retrieves the current working directory

 

 

Parameters

buf is a character buffer to hold the current working directory

length is the maximum length of the path in characters

 

 

Return Value

getcwd returns a pointer to buf if successful, and NULL otherwise

 

 

See Also

path_drawing, path_silver