PCD
x = make32(1,2,3,4);
y=0x12;
z=0x4321;
// x is 0x01020304
x = make32(y,z);
x = make32(y,y,z);
// x is 0x00124321
// x is 0x12124321
Example
Files:
Also See:
malloc( )
Syntax:
make8(), make16()
ptr=malloc( size )
Parameters: size is an integer representing the number of byes to be allocated.
Returns:
Function:
Availability:
Requires:
Examples:
Example
Files:
Also See:
A pointer to the allocated memory, if any. Returns null otherwise.
The malloc function allocates space for an object whose size is specified by size
and whose value is indeterminate.
All devices
#INCLUDE <stdlibm.h>
int * iptr;
iptr=malloc(10);
// iptr will point to a block of memory of 10 bytes.
None
realloc(), free(), calloc()
memcpy( ) memmove( )
Syntax:
memcpy ( destination , source , n )
memmove( destination , source , n )
Parameters: destination is a pointer to the destination memory.
source is a pointer to the source memory,.
n is the number of bytes to transfer
206
相关PDF资料
PCI-EXP-T42G5-N1 IP CORE PCI EXPRESS ORCA 4
PCM18XH2 PROCESSOR MODULE MPLAB-ICE 2000
PCM18XN0 PROCESSOR MODULE FOR ICE2000
PDA-B-24-615-E-2B1-1-C CIRCUIT BREAKER MAG 1P 15A
PFMF.260.2 PFMF PTC FUSE SMT 2.6A 1812
PFNF.200.2 PFNF PTC FUSE SMT 2A 1206
PFRY.375 PTC-FUSE RADIAL 72 VDC
PFSM.150.33.2 FUSE PTC 8A 15V FST-TRIP SMD
相关代理商/技术参数
PCD_09 制造商:MACOM 制造商全称:Tyco Electronics 功能描述:Low Profile PCB Relay PCD
PCD-00173-0C 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00173-0E 制造商:Molex 功能描述:Ethernet Cable Assembly
PCD-00173-0H 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00173-0K 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00174-0C 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY; Cable Length - Imperial:3ft; Cable Length - Metric:914.4mm; Connector Type A:RJ45 Plug; Connector Type B:RJ45 Plug; Jacket Color:Red; Approval Bodies:CSA / UL; Body Material:PVC; Cable Assembly Type:Ethernet ;RoHS Compliant: NA
PCD-00174-0E 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY; Cable Length - Imperial:3ft; Cable Length - Metric:914.4mm; Connector Type A:RJ45 Plug; Connector Type B:RJ45 Plug; Jacket Color:Grey; Approval Bodies:CSA / UL; Body Material:PVC; Cable Assembly Type:Ethernet;RoHS Compliant: NA
PCD-00174-0H 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY