1 /* 2 * Copyright (c) 2024, Meta 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/posix/unistd.h> 8 confstr(int name,char * buf,size_t len)9size_t confstr(int name, char *buf, size_t len) 10 { 11 if (name < 0 || name > _CS_V6_ENV) { 12 errno = EINVAL; 13 return 0; 14 } 15 16 if (buf != NULL && len > 0) { 17 buf[0] = '\0'; 18 } 19 20 return 1; 21 } 22