php教程

FFI::memset

(PHP 7 >= 7.4.0)

FFI::memsetFills a memory area

说明

public static FFI::memset ( FFI\CData &$ptr , int $ch , int $size ) : void

Fills size bytes of the memory area pointed to by ptr with the given byte ch.

参数

ptr

The start of the memory area to fill.

ch

The byte to fill with.

size

The number of bytes to fill.

返回值

没有返回值。

User Contributed Notes

There are no user contributed notes for this page.

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788