---
name: "mplist_set"
section: "3m17n"
platform: "linux"
package: "m17n-docs"
version: "1.8.4-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mplist_set"
---

# mplist\_set(3m17n)

## NAME

mplist\_set -

## SYNOPSIS

**MPlist**\* **mplist\_set** (**MPlist** \* *plist*, MSymbol *key*, void \* *val*)

## DESCRIPTION

Set the first property in a property list. The **mplist\_set()** function sets the key and the value of the first property in property list **plist** to **key** and **value**, respectively. See the documentation of **mplist\_add()** for the restriction on **key** and **val**.

## RETURN VALUE

If the operation was successful, **mplist\_set()** returns **plist**. Otherwise, it returns `NULL`. \

## COPYRIGHT

Copyright (C) 2001 Information-technology Promotion Agency (IPA)\
 Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)\
 Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License  \<http://www.gnu.org/licenses/fdl.html\>.
