mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8218882: NET_Writev is declared, NET_WriteV is defined
Reviewed-by: alanb, chegar
This commit is contained in:
parent
e320983f9f
commit
dce16304c1
5 changed files with 5 additions and 22 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -59,10 +59,6 @@ int NET_ReadV(int s, const struct iovec * vector, int count) {
|
|||
RESTARTABLE_RETURN_INT(readv(s, vector, count));
|
||||
}
|
||||
|
||||
int NET_WriteV(int s, const struct iovec * vector, int count) {
|
||||
RESTARTABLE_RETURN_INT(writev(s, vector, count));
|
||||
}
|
||||
|
||||
int NET_Send(int s, void *msg, int len, unsigned int flags) {
|
||||
RESTARTABLE_RETURN_INT(send(s, msg, len, flags));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue