腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
2
回答
如何从运行在.NET上的
Linux
核心应用程序关闭计算机
c#
、
linux
、
.net-core
、
ubuntu-16.04
、
daemon
我有一个运行在
Linux
(Ubuntu Server16.04LTS)上的.net核心2.0程序。当应用程序作为
Linux
守护程序运行时,如何让应用程序关闭计算机?
浏览 1
提问于2018-05-03
得票数 2
4
回答
从C#访问C全局变量'
errno
‘
c#
、
c
、
mono
、
pinvoke
、
errno
在P/Invoking时,是否可以访问C#中的"
errno
“变量?这类似于Win
32
GetLastError()。
浏览 5
提问于2010-03-21
得票数 11
回答已采纳
2
回答
为什么strtoul不像预期的那样工作?
c++
、
c
、
gcc
我编写了以下代码:(2) g++ 4.4.7在centos6 (64位)上(4) cygwin (
32
位)环境中的g++ 4.9.3Id (0x210000000) as ul = 0x10000000 - str_end -
errno
0.Id (0x10000000)
浏览 5
提问于2016-03-02
得票数 0
回答已采纳
2
回答
如何在
Linux
中表示成功状态代码?
c
、
linux
、
cross-platform
我试图在
Linux
中映射类似的样式状态代码。我有一个(WIP)跨平台库,它在Windows上使用上述类型的状态代码(用户模式和内核模式)。我有自己的“失败”宏包装上述宏。我需要一个相当于
Linux
的东西。 我环顾四周,没有发现任何有趣的/有用的东西。对于任何可能返回和错误的系统/平台函数(套接字、线程、锁),我需要确保它被转换成适当的状态代码类型。Windows为类似的事情提供了很多帮助,但我对
Linux
并不确定。明确地说,由于有人建议可能是答案,我并不试图显式地将
Linux
状态/错误代码强制
浏览 10
提问于2019-08-20
得票数 6
回答已采纳
1
回答
IOError:[
Errno
32
]断管
linux
、
python
在
linux
中编写文件时,我得到了"IOError:
Errno
32
坏管道“。 IOError: [
Errno
32
] Broken pipe )* 因此,当我在
linux
中运行这
浏览 0
提问于2011-05-13
得票数 0
1
回答
什么包为x
32
ABI提供asm/
errno
.h?
compiling
、
gcc
我试图在64位Kubuntu 14.04上编译strace 4.19,但是编译失败了,出现了以下错误:我能够将这个问题复制为测试C源代码的编译问题:它使用-m
32
和-m64 GCC选项编译得很好,但是由于上面提到的-mx
32</
浏览 0
提问于2017-09-25
得票数 4
回答已采纳
1
回答
Docker seccomp为高山/繁忙箱工作,但不为ubuntu工作。
docker
、
security
、
ubuntu
: "SCMP_ACT_ALLOW", "SCMP_ARCH_X86_64", "SCMP_ARCH_X
32
""syscalls": [ "name": "chmod", "action": "SCMP_ACT_
ERRNO
&q
浏览 2
提问于2020-06-11
得票数 2
回答已采纳
3
回答
在
Linux
中,EINVAL、ENOMEM等定义在哪个头文件中?
c
、
linux
、
errno
据说像EINVAL,ENOMEM等错误号是在
errno
.h中定义的,但我在
errno
.h中找不到它们,我也搜索了/usr/include下的一些目录,仍然找不到它们。
浏览 0
提问于2013-12-09
得票数 11
1
回答
readdir API试图读取大于2GB的文件
c
、
linux
我对
Linux
编程很陌生。我试图实现一个错误场景,其中
32
位readdir() API试图读取大于2GB的文件。 readdir的当前返回值是多少?它是空的吗?" File name = %s Error Number = %s \n", dirp->d_name, strerror(
errno</
浏览 1
提问于2015-10-14
得票数 1
14
回答
如何检查Python中是否存在具有给定pid的进程?
python
、
process
、
pid
有没有办法检查pid是否对应于有效的进程?我从os.getpid()以外的其他来源获取pid,我需要检查机器上是否不存在具有该pid的进程。
浏览 0
提问于2009-02-20
得票数 122
回答已采纳
3
回答
errno
.h带来的麻烦
linux
、
redhat
、
errno
我在include/
linux
中有一个头文件,其中定义了包装器函数,它们使用
errno
。我使用#include <
errno
.h>包含了
errno
.h。当我尝试编译时,它告诉我"
errno
.h没有这样的文件或目录“。当我尝试#include <
linux
/
errno
.h>时,它找到了它,但它抱怨我在使用之前没有声明变量
errno
。我查看了
errno
.h,它确实没有声明它,这让人困惑
浏览 15
提问于2009-11-12
得票数 1
1
回答
Selenium Firefox驱动程序引发异常OSError:[
Errno
8] Exec格式错误
python
、
selenium
、
firefox
、
webdriver
、
geckodriver
/usr/lib/python2.7/subprocess.py", line 1343, in _execute_childOSError: [
Errno
浏览 0
提问于2018-09-25
得票数 3
1
回答
使用ptrace时mmap返回值
c++
、
linux
、
return
、
mmap
、
ptrace
1":"0"); printf("Child
errno
: %s\n",strerror(
errno
));}Child: x=-1 (11111111111111111111111111111111)
浏览 3
提问于2013-01-04
得票数 0
回答已采纳
1
回答
“/usr/include/
linux
/
errno
.h:1:23:致命错误: asm/
errno
.h:没有此类文件或目录”
14.04
、
android
、
gcc
、
ubuntu-for-android
、
android-sdk
/gcc/libgcc2.c:29:/usr/include/
linux
/
errno
.h:1:23: fatal error: asm/
errno</em
浏览 0
提问于2016-09-28
得票数 0
2
回答
最大的
errno
值是多少?
c
、
errno
我想要构建一个唯一的错误数,它由一个随机数和一个系统调用的
errno
组成。示例:我需要知道存储一个
errno
值需要多少位。dpkg -L
linux
-headers-3.16.0-4-common|xargs cat| awk '/^
浏览 0
提问于2015-09-18
得票数 1
回答已采纳
1
回答
在哪个包含文件EPERM (由pthread_mutex_unlock返回)中声明了错误代码?
include
、
pthreads
、
errno
因为我在pthread.h或
errno
.h (在openSUSE
Linux
上)中都找不到EPERM的声明。我在asm-generic/
errno
-base.h中找到了这个,但这是正确的吗?为什么不在
errno
.h中?谢谢
浏览 1
提问于2009-11-19
得票数 0
回答已采纳
1
回答
在gdb中对
errno
设置观察点
debugging
、
gdb
、
libc
、
errno
、
watchpoint
我正在尝试找出
errno
何时发生变化。Cannot find shared library `/usr/lib/debug/lib/x86_64-
linux
-gnu/libc-2.13.so' indynamic linker's load module list 当我输入"watch
errno
“的时候。我需要
浏览 8
提问于2012-05-19
得票数 5
回答已采纳
1
回答
在两个相似的输入文件中显示不同结果(只有一个错误)的python脚本
python
File "final_script_globpipe.py", line 105, in SavitzkyGolayIOError: [
Errno
浏览 2
提问于2016-08-16
得票数 0
1
回答
C++在64位系统上构建
32
位二进制
c++
、
32bit
我使用cake来构建我的项目,我使用set_target_properties(clib PROPERTIES COMPILE_FLAGS "-m
32
" LINK_FLAGS "-m
32
")强制进行
32
现在,前面的错误已经消失了,但是我得到的是错误/usr/include/
linux
/
errno
.h:1:10: fatal error: asm/
errno
.h: No such file or di
浏览 0
提问于2019-01-18
得票数 2
回答已采纳
11
回答
asm/
errno
.h:没有这样的文件或目录
linux
、
gcc
在构建gcc的过程中,我得到了这个错误: from /usr/include/
errno
.h:36,/usr/include/
linux
/
errno
.h:4
浏览 5
提问于2013-02-10
得票数 43
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Linux错误代码:errno.h与返回值-EINVAL
Visual Studio Code 1.36不再支持Linux 32位系统
Linux运维常见故障及处理的 32 个锦囊妙计
在win10的linux子系统中安装esp32开发环境
Linux 内核开发人员正在讨论删除对 x32 的支持
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券