# PetscMapGetOptionsPrefix

Sets the prefix used for searching for all PetscMap options in the database.

### Synopsis

    #include "petscvec.h"
    PetscErrorCode PETSCVEC_DLLEXPORT PetscMapGetOptionsPrefix(PetscMap map,const char *prefix[])

Not Collective

### Input Parameter

map -the PetscMap context

### Output Parameter

prefix -pointer to the prefix string used

Notes: On the fortran side, the user should pass in a string 'prefix' of sufficient length to hold the prefix.

### Keywords

PetscMap, get, options, prefix, database

### See Also

PetscMapAppendOptionsPrefix()

Level:advanced
Location:src/vec/interface/map.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages