Chinaunix首页 | 论坛 | 博客
  • 博客访问: 473111
  • 博文数量: 223
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 2145
  • 用 户 组: 普通用户
  • 注册时间: 2014-03-01 10:23
个人简介

该坚持的时候坚持,该妥协的时候妥协,该放弃的时候放弃

文章分类

全部博文(223)

文章存档

2017年(56)

2016年(118)

2015年(3)

2014年(46)

我的朋友

发布时间:2017-08-13 20:22:20

############################################################################## Copyright (c) 2017 PX4 Development Team. All rights reserved.## Redistribution and use in source and binary forms, with or without# modification, are permitted .........【阅读全文】

阅读(1626) | 评论(0) | 转发(0)

发布时间:2017-08-04 23:30:17

uorb_mainint uorb_main(int argc, char *argv[]){    if (argc < 2) {        usage();                  .........【阅读全文】

阅读(1221) | 评论(0) | 转发(0)

发布时间:2017-08-03 21:16:48

int mavlink_main(int argc, char *argv[]){    if (argc < 2) {        usage();                    &nb.........【阅读全文】

阅读(1232) | 评论(0) | 转发(0)

发布时间:2017-07-21 22:09:33

px4::init_once();void init_once(){    _shell_task_id = pthread_self();                              .........【阅读全文】

阅读(598) | 评论(0) | 转发(0)

发布时间:2017-07-20 22:19:58

int Framework::initialize(){    DF_LOG_DEBUG("Framework::initialize");    g_framework = new SyncObj;                  &.........【阅读全文】

阅读(653) | 评论(0) | 转发(0)

发布时间:2017-07-19 21:34:50

......【阅读全文】

阅读(834) | 评论(0) | 转发(0)

发布时间:2017-07-19 21:33:35

getcwd函数原型:char *getcwd( char *buffer, int maxlen );功 能:获取当前工作目录参数说明:getcwd()会将当前工作目录的绝对路径复制到参数buffer所指的内存空间中,参数maxlen为buffer的空间大小。返 回 值:成功则返回当前工作目录,失败返回 FALSE。在某些 Unix 的变种下,如果任何父目录没有.........【阅读全文】

阅读(836) | 评论(0) | 转发(0)

发布时间:2017-07-16 23:34:27

函数名: stat()功 能: 得到文件的信息,将其保存在buf结构中,buf的地址以参数形式传递给stat。用 法: int _stat(const char *path,struct _stat *buffer)参数:const char *path: 文件名或者目录名struct _stat *buffer:结构体对象地址返回值: 成功返回0,返回-1表示失败。#inclu.........【阅读全文】

阅读(601) | 评论(0) | 转发(0)

发布时间:2017-07-16 22:57:45

sigaction(查询或设置信号处理方式)相关函数 signal,sigprocmask() ,sigpending,sigsuspend, sigemptyset表头文件 #include<signal.h>定义函数 int sigaction(int signum,const struct sigaction *act ,struct sigaction *oldact);函数说明 sigaction()会依参数signum指定的信号编号来设置该信号的处理函.........【阅读全文】

阅读(611) | 评论(0) | 转发(0)

发布时间:2017-07-16 22:12:32

函数名: atexit头文件:#include<stdlib.h>功 能: 注册终止函数(即main执行结束后调用的函数)用 法: void atexit(void (*func)(void));注意:exit调用这些注册函数的顺序与它们 登记时候的顺序相反。同一个函数如若登记多次,则也会被调用多次。#include <stdio.h>#include <stdlib.h.........【阅读全文】

阅读(723) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册