diff options
| author | Meco Man <[email protected]> | 2021-03-07 08:34:04 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-03-07 08:34:04 +0800 |
| commit | 08af426f01cf0321719c937d29a1d9315a0feab8 (patch) | |
| tree | cb9c4e5ba1db25c5878b732a2651ec3646efc4d1 /examples/libc/env.c | |
| parent | ce86058201432e865b8d7c4096b3675642a43a42 (diff) | |
[example] 格式化整理
Diffstat (limited to 'examples/libc/env.c')
| -rw-r--r-- | examples/libc/env.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/libc/env.c b/examples/libc/env.c index ca67ac2e2a..6bc8ba4d7e 100644 --- a/examples/libc/env.c +++ b/examples/libc/env.c @@ -10,9 +10,9 @@ int libc_env() { - printf("PATH=%s\n", getenv("PATH")); - putenv("foo=bar"); - printf("foo=%s\n", getenv("foo")); - return 0; + printf("PATH=%s\n", getenv("PATH")); + putenv("foo=bar"); + printf("foo=%s\n", getenv("foo")); + return 0; } FINSH_FUNCTION_EXPORT(libc_env, get/set_env test); |
