Language

OsConstants.S_ISSOCK(Int32) Method

Definition

Tests whether the given mode is a socket.

[Android.Runtime.Register("S_ISSOCK", "(I)Z", "")]
public static bool S_ISSOCK(int mode);
[<Android.Runtime.Register("S_ISSOCK", "(I)Z", "")>]
static member S_ISSOCK : int -> bool

Parameters

mode
Int32

The file mode bits, including the file-type field.

Returns

true if the file-type field denotes a socket; otherwise, false.

Attributes

Remarks

Tests whether the given mode is a socket.

Java documentation for android.system.OsConstants.S_ISSOCK(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to