Scroll to navigation

mplist_find_by_key(3m17n) The m17n Library mplist_find_by_key(3m17n)

NAME

mplist_find_by_key - Find a property of a specific key in a property list.

SYNOPSIS

MPlist* mplist_find_by_key (MPlist * plist, MSymbol key)

DESCRIPTION

Find a property of a specific key in a property list. The mplist_find_by_key() function searches property list plist from the beginning for a property whose key is key. If such a property is found, a sublist of plist whose first element is the found one is returned. Otherwise, NULL is returned.

If key is Mnil, it returns a sublist of plist whose first element is the last one of plist.

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>.

12 Jan 2011 Version 1.6.2