---
name: "shishi_cfg_userdirectory_file"
section: "3"
platform: "linux"
package: "shishi-doc"
version: "1.0.3-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/shishi_cfg_userdirectory_file"
---

# shishi\_cfg\_userdirectory\_file(3)

API function

## NAME

shishi\_cfg\_userdirectory\_file - API function

## SYNOPSIS

**#include \<shishi.h\>**

**char \* shishi\_cfg\_userdirectory\_file(Shishi \*** *handle***, const char \*** *file***);**

## ARGUMENTS

- Shishi \* handle

  Shishi library handle created by **shishi\_init()**.

- const char \* file

  Basename of file to use for the user's configuration settings of the library.

## DESCRIPTION

Reports the full path to the file where the Shishi library expects to find the user's library configuration, given that the file itself is named by the parameter *file*.

The answer is composed from the value of *file* and the directory returned by **shishi\_cfg\_default\_userdirectory()**.  Typically, the returned string would be expanded from "$HOME/.shishi/*file*".

## RETURN VALUE

Returns the absolute filename to the argument *file*, relative to the user specific Shishi configuration directory.

## REPORTING BUGS

Report bugs to \<bug-shishi@gnu.org\>. GNU Shishi home page: http://www.gnu.org/software/shishi/ General help using GNU software: http://www.gnu.org/gethelp/

## COPYRIGHT

Copyright © 2002-2022 Simon Josefsson.\
 Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

## SEE ALSO

The full documentation for **shishi** is maintained as a Texinfo manual.  If the **info** and **shishi** programs are properly installed at your site, the command

-

  **info shishi**

should give you access to the complete manual.
