Print this page
2964 need POSIX 2008 locale object support
Reviewed by: Robert Mustacchi <rm@joyent.com>

*** 18,27 **** --- 18,28 ---- * * CDDL HEADER END */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* * Copyright (c) 2012, Joyent, Inc. All rights reserved.
*** 143,148 **** --- 144,164 ---- /*ARGSUSED*/ void _tmem_set_cleanup(void (*f)(int, void *)) { + } + + int + isspace(int c) + { + switch (c) { + case ' ': + case '\t': + case '\n': + case '\r': + case '\f': + case '\v': + return (1); + } + return (0); }