Results of 21 - 30 of about 194 for sizeof (0.022 sec.)
- Man page of SENDMMSG 6877
- SENDMMSG Section: Linux Programmer's Manual (2) Updated: 2020-06-09 Index JM Home Page 名前 send
...
4); if (connect(sockfd, (struct sockaddr *) &addr, sizeof(addr)) == -1) { perror("connect()"); exit(EXIT_FAI ...
LURE); } memset(msg1, 0, sizeof(msg1)); msg1[0].iov_base = "one"; msg1[0].iov_len ...
ase = "two"; msg1[1].iov_len = 3; memset(&msg2, 0, sizeof(msg2)); msg2.iov_base = "three"; msg2.iov_len = 5; ...
memset(msg, 0, sizeof(msg)); msg[0].msg_hdr.msg_iov = msg1; msg[0].msg_h ...
-
https://man.plustar.jp/manpage/man2/sendmmsg.2.html
- [similar]
- Man page of NETLINK 6877
- NETLINK Section: Linux Programmer's Manual (7) Updated: 2020-06-09 Index JM Home Page 名前 netli
...
of. optval is a pointer to __u32 and optlen is the size of the array. The array is filled with the full memb ...
作成している。 struct sockaddr_nl sa; memset(&sa, 0, sizeof(sa)); sa.nl_family = AF_NETLINK; sa.nl_groups = RT ...
NETLINK_ROUTE); bind(fd, (struct sockaddr *) &sa, sizeof(sa)); 次の例では、netlink メッセージをカーネル (pi ...
, nh->nlmsg_len }; struct msghdr msg; msg = { &sa, sizeof(sa), &iov, 1, NULL, 0, 0 }; memset(&sa, 0, sizeof( ...
-
https://man.plustar.jp/manpage/man7/netlink.7.html
- [similar]
- Man page of BIND 6639
- BIND Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 bind - ソ
...
== -1) handle_error("socket"); memset(&my_addr, 0, sizeof(my_addr)); /* Clear structure */ my_addr.sun_famil ...
= AF_UNIX; strncpy(my_addr.sun_path, MY_SOCK_PATH, sizeof(my_addr.sun_path) - 1); if (bind(sfd, (struct sock ...
addr *) &my_addr, sizeof(my_addr)) == -1) handle_error("bind"); if (listen( ...
one at a time using accept (2) */ peer_addr_size = sizeof(peer_addr); cfd = accept(sfd, (struct sockaddr *) ...
-
https://man.plustar.jp/manpage/man2/bind.2.html
- [similar]
- Man page of GETIPNODEBYNAME 6639
- GETIPNODEBYNAME Section: Linux Programmer's Manual (3) Updated: 2017-09-15 Index JM Home Page 名
...
は struct in_addr へのポインターであり、 len 引数は sizeof(struct in_addr) に設定しなければならない。 AF_INET ...
struct in6_addr へのポインターであり、 len 引数は sizeof(struct in6_addr) に設定しなければならない。 返り値 ...
ngth このフィールドは、 h_addrtype が AF_INET なら sizeof(struct in_addr) に、 h_addrtype が AF_INET6 なら s ...
-
https://man.plustar.jp/manpage/man3/freehostent.3.html
- [similar]
- Man page of GETIPNODEBYNAME 6639
- GETIPNODEBYNAME Section: Linux Programmer's Manual (3) Updated: 2017-09-15 Index JM Home Page 名
...
は struct in_addr へのポインターであり、 len 引数は sizeof(struct in_addr) に設定しなければならない。 AF_INET ...
struct in6_addr へのポインターであり、 len 引数は sizeof(struct in6_addr) に設定しなければならない。 返り値 ...
ngth このフィールドは、 h_addrtype が AF_INET なら sizeof(struct in_addr) に、 h_addrtype が AF_INET6 なら s ...
-
https://man.plustar.jp/manpage/man3/getipnodebyaddr.3.html
- [similar]
- Man page of GETIPNODEBYNAME 6639
- GETIPNODEBYNAME Section: Linux Programmer's Manual (3) Updated: 2017-09-15 Index JM Home Page 名
...
は struct in_addr へのポインターであり、 len 引数は sizeof(struct in_addr) に設定しなければならない。 AF_INET ...
struct in6_addr へのポインターであり、 len 引数は sizeof(struct in6_addr) に設定しなければならない。 返り値 ...
ngth このフィールドは、 h_addrtype が AF_INET なら sizeof(struct in_addr) に、 h_addrtype が AF_INET6 なら s ...
-
https://man.plustar.jp/manpage/man3/getipnodebyname.3.html
- [similar]
- Man page of PTHREAD_SETAFFINITY_NP 6639
- PTHREAD_SETAFFINITY_NP Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home
...
ーの長さ (バイト単位) で ある。通常は、この引数には sizeof(cpu_set_t) を指定する ( CPU_SET (3) に書かれている ...
るシステムコールに渡される CPU セットの大きさは 常に sizeof(cpu_set_t) であった。 pthread_create (3) で作成され ...
ET(j, &cpuset); s = pthread_setaffinity_np(thread, sizeof(cpuset), &cpuset); if (s != 0) handle_error_en(s, ...
o the thread */ s = pthread_getaffinity_np(thread, sizeof(cpuset), &cpuset); if (s != 0) handle_error_en(s, ...
-
https://man.plustar.jp/manpage/man3/pthread_getaffinity_np.3.html
- [similar]
- Man page of PTHREAD_SETAFFINITY_NP 6639
- PTHREAD_SETAFFINITY_NP Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home
...
ーの長さ (バイト単位) で ある。通常は、この引数には sizeof(cpu_set_t) を指定する ( CPU_SET (3) に書かれている ...
るシステムコールに渡される CPU セットの大きさは 常に sizeof(cpu_set_t) であった。 pthread_create (3) で作成され ...
ET(j, &cpuset); s = pthread_setaffinity_np(thread, sizeof(cpuset), &cpuset); if (s != 0) handle_error_en(s, ...
o the thread */ s = pthread_getaffinity_np(thread, sizeof(cpuset), &cpuset); if (s != 0) handle_error_en(s, ...
-
https://man.plustar.jp/manpage/man3/pthread_setaffinity_np.3.html
- [similar]
- Man page of SELECT_TUT 6508
- SELECT_TUT Section: Linux Programmer's Manual (2) Updated: 2020-04-11 Index JM Home Page 名前 se
...
f (setsockopt(lfd, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(yes)) == -1) { perror("setsockopt"); close(lfd); r ...
eturn -1; } memset(&addr, 0, sizeof(addr)); addr.sin_port = htons(listen_port); addr.s ...
AF_INET; if (bind(lfd, (struct sockaddr *) &addr, sizeof(addr)) == -1) { perror("bind"); close(lfd); return ...
{ perror("socket"); return -1; } memset(&addr, 0, sizeof(addr)); addr.sin_port = htons(connect_port); addr. ...
-
https://man.plustar.jp/manpage/man2/select_tut.2.html
- [similar]
- Man page of OPEN_BY_HANDLE_AT 6270
- OPEN_BY_HANDLE_AT Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page
...
struct file_handle { unsigned int handle_bytes; /* Size of f_handle [in, out] */ int handle_type; /* Handle ...
gv[1]; /* file_handle 構造体を確保する */ fhsize = sizeof(*fhp); fhp = malloc(fhsize); if (fhp == NULL) errE ...
andle 構造体を正しいサイズに確保し直す */ fhsize = sizeof(*fhp) + fhp->handle_bytes; fhp = realloc(fhp, fhsi ...
ype> <bytes of handle in hex> */ if ((fgets(line1, sizeof(line1), stdin) == NULL) || (fgets(line2, sizeof(li ...
-
https://man.plustar.jp/manpage/man2/name_to_handle_at.2.html
- [similar]