原创 C語言程序風格

1.   MACRO   /* Cache size */#define L2C_SIZE_256K      0x00 /* L2 cache size 256KB */#define L2C_SIZE_512K      0x01

原创 linux系統的最後重啓時間

方法1:使用last reboot命令 ~$ last reboot reboot   system boot  3.5.0-17-generic Sun Sep 14 10:43 - 12:25  (01:41)     reboot 

原创 Linux下Makefile的編寫及四個特殊符號的意義@、$@、$^、$

轉 http://blog.csdn.net/chilv/article/details/79075824 我們先看三段C++程序: 一、line1的源碼 line1.h [cpp] view plain copy #ifn

原创 “warning: this decimal constant is unsigned only in ISO C90”的解決辦法

1. 問題描述:      warning: this decimal constant is unsigned only in ISO C90 2.  在程序編譯的時候出現:warning: this decimal constan

原创 cat /proc/$PID/status進程狀態

版權聲明:聲明:本文檔可以轉載,須署名原作者。 作者:無爲 qq:490073687 周祥興 [email protected] https://blog.csdn.net/Rookie_CEO/article/detai

原创 CAT表中EMM PID 和 PMT表中ECM 的解析

轉載自:https://blog.csdn.net/kehyuanyu/article/details/22402497 直播中播放加擾節目時,常常啓動播放流程(申請設備鏈,tuner,demux,audio decoder ,video

原创 GStreamer學習筆記(一)

內容轉自 http://phinecos.cnblogs.com/ 本文介紹如何使用GStreamer 編寫一個簡單的MP3播放器。 1,需要使用mad解碼插件,因此需要先安裝gstreamer0.10-plugins-ugly 2,編

原创 secureCRT報錯 The remote system refused the connection.

轉自:http://blog.csdn.net/youth0532/article/details/7648670 secureCRT The remote system refused the connection. 這裏是因爲剛裝

原创 linu中使用prctl函數爲線程指定名字

轉載自:http://www.itwendao.com/article/detail/365516.html 一、前言     有時候我們通過fork()、pthread_create()創建出來的新任務其名字和創建任務的parent是一

原创 Ubuntu 16.04 搭建python環境

準備安裝python3.5 和pip。1. 安裝python3.5root@ubuntu:/home/lvjc/# sudo apt-get update root@ubuntu:/home/lvjc/# sudo apt-get ins

原创 Ubuntu下配置samba實現文件夾共享

一. samba的安裝: sudo apt-get insall samba sudo apt-get install smbfs 二. 創建共享目錄: mkdir /home/phinecos/share sodu chmod 777

原创 Libpcap庫主要函數

以下摘自:http://www.cnblogs.com/p2pstream/archive/2009/03/10/1407950.html 函數名稱:pcap_t *pcap_open_live(char *device, int sn

原创 關於空指針NULL、野指針、通用指針

轉自http://www.cnblogs.com/losesea/archive/2012/11/16/2772590.html 首先說一下什麼是指針,只要明白了指針的含義,你就明白null的含義了。 假設 有語句 int a=10;

原创 gstreamer 學習筆記(2): GstElement狀態

本文轉自:http://blog.csdn.net/xuanwolanxue/article/details/62416706 注:這裏同樣是以gstreamer 1.8.1爲藍本 一、狀態定義 在gstreamer中GstEleme

原创 Ubuntu 源碼安裝gstreamer

方法源自 https://www.2cto.com/os/201304/201677.html  glib安裝                http://www.cnblogs.com/pcat/p/5520317.html  gstr