Hi, when I use the systemcall int getdomainname(char *name, int len) with an invalid address for name (say (char*)-1 or NULL), its dumping the core ( getting SIGSEGV). is it the expected behaviour? isn't it supposed to return with EINVAL error set? same with the similar call gethostname() rgds, Saji
**************************Disclaimer************************************************** Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ****************************************************************************************