![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux c 源码
yunshouhu
爱Java,更爱Android,学VC,搞c/c++的我。专注移动安全,游戏安全,逆向安全!十年戎马成神路,君临天下风雷动! https://github.com/yunshouhu
展开
-
linux c源码之cat源码
/* $NetBSD: cat.c,v 1.43 2004/01/04 03:31:28 jschauma Exp $ *//* * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from sof原创 2015-02-03 17:37:44 · 4374 阅读 · 0 评论 -
linux c源码之top源码
/* * Copyright (c) 2008, The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that原创 2015-02-03 18:16:59 · 14160 阅读 · 1 评论 -
Linux c源码之rm递归删除文件
#include #include #include #include #include #include #include #include static int usage(){ fprintf(stderr,"rm [-rR] \n"); return -1;}//递归删除文件/* return -1 on failure, with errno set to原创 2015-02-03 18:00:50 · 3262 阅读 · 0 评论 -
Linux c源码之chmod源码
#include #include #include #include #include #include #include #include int main(int argc, char **argv){ int i; if (argc < 3) { fprintf(stderr, "Usage: chmod \n"); return 10; } i原创 2015-02-03 17:40:25 · 2531 阅读 · 0 评论 -
Linux c源码之kill源码
#include #include #include #include #include int main(int argc, char **argv){ int sig = SIGTERM; //发送退出信号 /* Termination (ANSI). */ int result = 0; argc--; argv++; if(argc >= 2 && argv原创 2015-02-03 17:54:40 · 2072 阅读 · 0 评论 -
android su源码
/***** Copyright 2008, The Android Open Source Project**** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. **原创 2015-02-03 18:51:22 · 4827 阅读 · 0 评论