|
NAMEstralloc_chop - remove and return last charSYNTAX#include <libowfat/stralloc.h>int stralloc_chop(stralloc* sa); DESCRIPTIONstralloc_chop removes the last char in the stralloc (if it is empty, stralloc_chop does nothing and returns -1). This character is cast to unsigned char and returned.RETURN VALUEchopped character, or -1 if string was empty.SEE ALSOstralloc_chomp(3) Visit the GSP FreeBSD Man Page Interface. |