GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
other.c File Reference
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <stdio.h>
#include <unistd.h>
#include <grass/gis.h>
#include "local_proto.h"
Include dependency graph for other.c:

Go to the source code of this file.

Functions

int mapset_permissions (const char *mapset)
 
int mapset_message (const char *mapset)
 
int mapset_question (const char *mapset)
 
int printfile (const char *name)
 

Function Documentation

int mapset_message ( const char *  mapset)

Definition at line 29 of file other.c.

References hit_return(), and printfile().

Referenced by main().

int mapset_permissions ( const char *  mapset)

Definition at line 17 of file other.c.

References G__mapset_permissions(), and stat.

Referenced by list_mapsets(), and main().

int mapset_question ( const char *  mapset)

Definition at line 37 of file other.c.

References G_yes(), and printfile().

Referenced by main().

int printfile ( const char *  name)

Definition at line 44 of file other.c.

References buf, fd, and n.

Referenced by mapset_message(), and mapset_question().