File tree Expand file tree Collapse file tree 7 files changed +2
-7
lines changed
src/unix/linux_like/linux/musl Expand file tree Collapse file tree 7 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -324,7 +324,6 @@ pub const MAP_SYNC: ::c_int = 0x080000;
324324
325325pub const SOCK_STREAM : :: c_int = 1 ;
326326pub const SOCK_DGRAM : :: c_int = 2 ;
327- pub const SOCK_SEQPACKET : :: c_int = 5 ;
328327
329328pub const EDEADLK : :: c_int = 35 ;
330329pub const ENAMETOOLONG : :: c_int = 36 ;
Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ pub const SIG_SETMASK: ::c_int = 2; // FIXME check these
292292pub const SIG_BLOCK : :: c_int = 0x000000 ;
293293pub const SIG_UNBLOCK : :: c_int = 0x01 ;
294294pub const SOCK_DGRAM : :: c_int = 2 ;
295- pub const SOCK_SEQPACKET : :: c_int = 5 ;
295+ pub const SOCK_NONBLOCK : :: c_int = 2048 ;
296296pub const SOCK_STREAM : :: c_int = 1 ;
297297pub const SOL_CAIF : :: c_int = 278 ;
298298pub const SOL_IUCV : :: c_int = 277 ;
Original file line number Diff line number Diff line change @@ -349,7 +349,6 @@ pub const ERFKILL: ::c_int = 167;
349349
350350pub const SOCK_STREAM : :: c_int = 2 ;
351351pub const SOCK_DGRAM : :: c_int = 1 ;
352- pub const SOCK_SEQPACKET : :: c_int = 5 ;
353352
354353pub const SA_ONSTACK : :: c_int = 0x08000000 ;
355354pub const SA_SIGINFO : :: c_int = 8 ;
Original file line number Diff line number Diff line change @@ -257,7 +257,6 @@ pub const MAP_SYNC: ::c_int = 0x080000;
257257
258258pub const SOCK_STREAM : :: c_int = 1 ;
259259pub const SOCK_DGRAM : :: c_int = 2 ;
260- pub const SOCK_SEQPACKET : :: c_int = 5 ;
261260
262261pub const EDEADLK : :: c_int = 35 ;
263262pub const ENAMETOOLONG : :: c_int = 36 ;
Original file line number Diff line number Diff line change @@ -313,7 +313,6 @@ pub const MAP_SYNC: ::c_int = 0x080000;
313313
314314pub const SOCK_STREAM : :: c_int = 1 ;
315315pub const SOCK_DGRAM : :: c_int = 2 ;
316- pub const SOCK_SEQPACKET : :: c_int = 5 ;
317316
318317pub const EDEADLK : :: c_int = 35 ;
319318pub const ENAMETOOLONG : :: c_int = 36 ;
Original file line number Diff line number Diff line change @@ -134,8 +134,6 @@ pub const __SIZEOF_PTHREAD_RWLOCK_T: usize = 56;
134134pub const __SIZEOF_PTHREAD_MUTEX_T: usize = 40 ;
135135pub const __SIZEOF_PTHREAD_BARRIER_T: usize = 32 ;
136136
137- pub const SOCK_SEQPACKET : :: c_int = 5 ;
138-
139137extern "C" {
140138 pub fn getrandom ( buf : * mut :: c_void , buflen : :: size_t , flags : :: c_uint ) -> :: ssize_t ;
141139}
Original file line number Diff line number Diff line change @@ -539,6 +539,7 @@ pub const POSIX_MADV_DONTNEED: ::c_int = 4;
539539
540540pub const MAP_ANONYMOUS : :: c_int = MAP_ANON ;
541541
542+ pub const SOCK_SEQPACKET : :: c_int = 5 ;
542543pub const SOCK_DCCP : :: c_int = 6 ;
543544pub const SOCK_NONBLOCK : :: c_int = O_NONBLOCK ;
544545pub const SOCK_PACKET : :: c_int = 10 ;
You can’t perform that action at this time.
0 commit comments