github.com/searKing/golang/go@v1.2.117/os/signal/cgo/write_int.hpp (about) 1 // Copyright (c) 2019 The searKing authors. All Rights Reserved. 2 // 3 // Use of this source code is governed by a MIT-style license 4 // that can be found in the LICENSE file in the root of the source 5 // tree. An additional intellectual property rights grant can be found 6 // in the file PATENTS. All contributing project authors may 7 // be found in the AUTHORS file in the root of the source tree. 8 9 //go:build cgo 10 11 #ifndef GO_OS_SIGNAL_CGO_WRITE_INT_HPP_ 12 #define GO_OS_SIGNAL_CGO_WRITE_INT_HPP_ 13 #include <unistd.h> 14 namespace searking { 15 ssize_t WriteInt(int fd, int n); 16 } // namespace searking 17 #endif // GO_OS_SIGNAL_CGO_WRITE_INT_HPP_