# errors: OPTIONS=aaaaaaaaaa[ more than 247 (255 - 8 for 'OPTIONS=') total ]aaaaaaaaaa OPTIONS OPTIONS= MSGTYPE=stop"You swap places with " MSGTYPE=st.op "You swap places with " MSGTYPE=stop "You swap places with \" MENUCOLOR=" blessed "green&none MENUCOLOR=" holy " = green&reverse MENUCOLOR=" cursed " = red&uline MENUCOLOR=" unholy " = reed OPTIONS=!legacy:true,fooo OPTIONS=align:!pin OPTIONS=gen
| 6845 | * bounds-check itself. |
| 6846 | */ |
| 6847 | char * |
| 6848 | nh_getenv(const char *ev) |
| 6849 | { |
| 6850 | char *getev = getenv(ev); |
| 6851 | |
| 6852 | if (getev && strlen(getev) <= (BUFSZ / 2)) |
| 6853 | return getev; |
| 6854 | else |
| 6855 | return (char *) 0; |
| 6856 | } |
| 6857 | |
| 6858 | /* copy up to maxlen-1 characters; 'dest' must be able to hold maxlen; |
| 6859 | treat comma as alternate end of 'src' */ |
no outgoing calls
no test coverage detected