| 264 | ****************************************************************************/ |
| 265 | |
| 266 | int exec(FAR const char *filename, FAR char * const *argv, |
| 267 | FAR char * const *envp, FAR const struct symtab_s *exports, |
| 268 | int nexports) |
| 269 | { |
| 270 | int ret; |
| 271 | |
| 272 | ret = exec_internal(filename, argv, envp, |
| 273 | exports, nexports, NULL, NULL, false); |
| 274 | if (ret < 0) |
| 275 | { |
| 276 | set_errno(-ret); |
| 277 | ret = ERROR; |
| 278 | } |
| 279 | |
| 280 | return ret; |
| 281 | } |
| 282 | |
| 283 | #endif /* !CONFIG_BINFMT_DISABLE */ |
no test coverage detected