:orphan: # TaoLineSearchGetOptionsPrefix Gets the prefix used for searching for all `TaoLineSearch` options in the database ## Synopsis ``` #include "petsctaolinesearch.h" PetscErrorCode TaoLineSearchGetOptionsPrefix(TaoLineSearch ls, const char *p[]) ``` Not Collective ## Input Parameter - ***ls -*** the `TaoLineSearch` context ## Output Parameter - ***prefix -*** pointer to the prefix string used is returned ## Fortran Note The user should pass in a string 'prefix' of sufficient length to hold the prefix. ## See Also [](ch_tao), `Tao`, `TaoLineSearch`, `TaoLineSearchSetOptionsPrefix()`, `TaoLineSearchAppendOptionsPrefix()` ## Level advanced ## Location src/tao/linesearch/interface/taolinesearch.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/tao/linesearch/interface/taolinesearch.c) [Index of all TaoLineSearch routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)