Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/src/unistd.c

    r44e8541 rf1045bb  
    11/*
     2 * Copyright (c) 2026 Jiri Svoboda
    23 * Copyright (c) 2011 Jiri Zarevucky
    34 * Copyright (c) 2011 Petr Koupy
     
    5960
    6061/* Array of environment variable strings (NAME=VALUE). */
    61 char **environ = NULL;
     62static char *environ_initial[] = { NULL };
     63char **environ = environ_initial;
    6264
    6365/**
     
    530532/**
    531533 *
     534 * @param file
     535 * @param argv
     536 * @return
     537 */
     538int execlp(const char *file, const char *arg, ...)
     539{
     540        // TODO: low priority, just a compile-time dependency of dosbox
     541        not_implemented();
     542        return -1;
     543}
     544
     545/**
     546 *
    532547 * @param fildes
    533548 * @return
Note: See TracChangeset for help on using the changeset viewer.