stralloc_chop(3) Library Functions Manual stralloc_chop(3)NAMEstralloc_chop - remove and return last charSYNTAX#include <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) stralloc_chop(3)
| Related Man Pages |
|---|
| buffer_get_token_sa_pred(3) - debian |
| rindex(3) - ultrix |
| strcasecmp(3) - ultrix |
| strcat(3) - ultrix |
| stresep(3) - netbsd |
| Similar Topics in the Unix Linux Community |
|---|
| Installing Dash Shell on OS X Lion |
| awk or sed - Convert 2 lines to 1 line |
| How can I do this in VI editor? |
| Find columns in a file based on header and print to new file |
| Weird 'find' results |