
杂项记录
不想做火影的海贼王
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
VI 使用技巧
VI 使用进阶原创 2022-09-21 10:44:31 · 379 阅读 · 0 评论 -
linux fork() 函数使用注意问题
fork 函数从哪里开始执行#include <unistd.h>;#include <sys/types.h>;main (){ pid_t pid; pid=fork(); // 1)从这里开始程序分岔,父子进程都从这一句开始执行一次 if (pid < 0) printf("error!"); else if (pid == 0) printf("chi.原创 2021-04-13 20:18:58 · 198 阅读 · 0 评论 -
Native 使用 Ashmem 使用的基本方法
在 android 使用共享buffer 的方法,下面给出一个 goggle 自带的例子https://android.googlesource.com/platform/system/core/+/master/libcutils/ashmem_test.cpp/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "Licens原创 2020-09-12 18:09:31 · 656 阅读 · 0 评论