VirtualBox

Changeset 3352 in kBuild for trunk/src


Ignore:
Timestamp:
Jun 5, 2020 12:31:50 AM (5 years ago)
Author:
bird
Message:

Adding kmk_kill for windows.

Location:
trunk/src/kmk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/Makefile.kmk

    r3214 r3352  
    340340       \
    341341        kmkbuiltin/err.c
     342kmk_SOURCES.win += \
     343        kmkbuiltin/kill.c
    342344
    343345
     
    374376        kmk_touch \
    375377        kDepIDB \
    376         kDepObj \
     378        kDepObj
     379PROGRAMS.win += \
     380        kmk_kill
    377381
    378382kmk_append_TEMPLATE = BIN-KMK-BUILTIN
     
    411415kmk_install_SOURCES = \
    412416        kmkbuiltin/install.c
     417
     418kmk_kill_TEMPLATE = BIN-KMK-BUILTIN
     419kmk_kill_SOURCES = \
     420        kmkbuiltin/kill.c
    413421
    414422kmk_ln_TEMPLATE = BIN-KMK-BUILTIN
  • trunk/src/kmk/kmkbuiltin.c

    r3333 r3352  
    265265#ifdef KBUILD_OS_WINDOWS
    266266    BUILTIN_ENTRY(kmk_builtin_kSubmit,  "kSubmit",      FN_SIG_MAIN_SPAWNS,     0, 1),
     267    BUILTIN_ENTRY(kmk_builtin_kill,     "kill",         FN_SIG_MAIN,            0, 0),
    267268#endif
    268269    BUILTIN_ENTRY(kmk_builtin_mkdir,    "mkdir",        FN_SIG_MAIN,            0, 0),
  • trunk/src/kmk/kmkbuiltin.h

    r3273 r3352  
    126126    size_t      uFnSignature : 8;
    127127    size_t      fMtSafe : 1;            /**< Safe for multi threaded execution. */
    128     size_t      fNeedEnv : 1;           /**< Needs the (target) enviornment. */
     128    size_t      fNeedEnv : 1;           /**< Needs the (target) environment. */
    129129} KMKBUILTINENTRY;
    130130/** Pointer to kmk built-in command entry. */
     
    156156extern int kSubmitSubProcKill(intptr_t pvUser, int iSignal);
    157157extern void kSubmitSubProcCleanup(intptr_t pvUser);
     158extern int kmk_builtin_kill(int argc, char **argv, char **envp, PKMKBUILTINCTX pCtx);
    158159#endif
    159160extern int kmk_builtin_kDepIDB(int argc, char **argv, char **envp, PKMKBUILTINCTX pCtx);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette