11759abf3SPeter Wemm /****************************************************************************
24a1a9510SRong-En Fan * Copyright 2020 Thomas E. Dickey *
31759abf3SPeter Wemm * Copyright 1999-2004,2005 Free Software Foundation, Inc. *
41759abf3SPeter Wemm * *
51759abf3SPeter Wemm * Permission is hereby granted, free of charge, to any person obtaining a *
61759abf3SPeter Wemm * copy of this software and associated documentation files (the *
71759abf3SPeter Wemm * "Software"), to deal in the Software without restriction, including *
81759abf3SPeter Wemm * without limitation the rights to use, copy, modify, merge, publish, *
91759abf3SPeter Wemm * distribute, distribute with modifications, sublicense, and/or sell *
101759abf3SPeter Wemm * copies of the Software, and to permit persons to whom the Software is *
111759abf3SPeter Wemm * furnished to do so, subject to the following conditions: *
121759abf3SPeter Wemm * *
131759abf3SPeter Wemm * The above copyright notice and this permission notice shall be included *
141759abf3SPeter Wemm * in all copies or substantial portions of the Software. *
151759abf3SPeter Wemm * *
161759abf3SPeter Wemm * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
171759abf3SPeter Wemm * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
181759abf3SPeter Wemm * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
191759abf3SPeter Wemm * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
201759abf3SPeter Wemm * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
211759abf3SPeter Wemm * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
221759abf3SPeter Wemm * THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
231759abf3SPeter Wemm * *
241759abf3SPeter Wemm * Except as contained in this notice, the name(s) of the above copyright *
251759abf3SPeter Wemm * holders shall not be used in advertising or otherwise to promote the *
261759abf3SPeter Wemm * sale, use or other dealings in this Software without prior written *
271759abf3SPeter Wemm * authorization. *
281759abf3SPeter Wemm ****************************************************************************/
291759abf3SPeter Wemm
301759abf3SPeter Wemm /****************************************************************************
311759abf3SPeter Wemm * Author: Thomas E. Dickey <dickey@clark.net> 1999 *
321759abf3SPeter Wemm ****************************************************************************/
331759abf3SPeter Wemm
341759abf3SPeter Wemm #include <curses.priv.h>
354a1a9510SRong-En Fan
361759abf3SPeter Wemm MODULE_ID("$Id: version.c,v 1.7 2020/02/02 23:34:34 tom Exp $")
377a69bbfbSPeter Wemm
NCURSES_EXPORT(const char *)381759abf3SPeter Wemm NCURSES_EXPORT(const char *)
391759abf3SPeter Wemm curses_version(void)
401759abf3SPeter Wemm {
414a1a9510SRong-En Fan T((T_CALLED("curses_version()")));
421759abf3SPeter Wemm returnCPtr("ncurses " NCURSES_VERSION_STRING);
43 }
44