mozilla

Articles tagged: NSPR_API_Reference

  1. 1
  2. 2
  3. 3
  4. 4

Found 329 documents.

  • PR_GetSockName Gets network address for a specified socket.
  • PR_GetSpecialFD Gets the file descriptor that represents the standard input, output, or error stream.
  • PR_GetThreadPriority Returns the priority of a specified thread.
  • PR_GetThreadPrivate Recovers the per-thread private data for the current thread.
  • PR_GetThreadScope Gets the scoping of the current thread.
  • PR_GetUniqueIdentity Asks the runtime to allocate a unique identity for a layer identified by the layer's name.
  • PR_GMTParameters Returns the time zone offset information that maps the specified PRExplodedTime to GMT.
  • PR_htonl Performs 32-bit conversion from host byte order to network byte order.
  • PR_htons Performs 16-bit conversion from host byte order to network byte order.
  • PR_IMPLEMENT Used to define implementations of symbols that are to be exported from a shared library.
  • PR_ImplodeTime Converts a clock/calendar time to an absolute time.
  • PR_ImportFileMapFromString Creates a PRFileMap from an identifying string.
  • PR_Init Initializes the runtime.
  • PR_Initialize Provides an alternate form of explicit initialization. In addition to establishing the sequence of ...
  • PR_Initialized Checks whether the runtime has been initialized.
  • PR_InitializeNetAddr Initializes or reinitializes a network address. The storage for the network address structure is ...
  • PR_INIT_CLIST Initializes a circular list.
  • PR_INIT_STATIC_CLIST Statically initializes a circular list.
  • PR_INSERT_AFTER Inserts an element after another element in a circular list.
  • PR_INSERT_BEFORE Inserts an element before another element in a circular list.
  • PR_INSERT_LINK Inserts an element at the head of the list.
  • PR_Interrupt Sets the interrupt request for a target thread.
  • PR_IntervalNow Returns the value of NSPR's free-running interval timer.
  • PR_IntervalToMicroseconds Converts platform-dependent intervals to standard clock microseconds.
  • PR_IntervalToMilliseconds Converts platform-dependent intervals to standard clock milliseconds.
  • PR_IntervalToSeconds Converts platform-dependent intervals to standard clock seconds.
  • PR_JoinJob Blocks the current thread until a job has completed.
  • PR_JoinThread Blocks the calling thread until a specified thread terminates.
  • PR_JoinThreadPool Waits for all threads in a thread pool to complete, then releases resources allocated to the thread ...
  • PR_Listen Listens for connections on a specified socket.
  • PR_LIST_HEAD Returns the head of a circular list.
  • PR_LIST_TAIL Returns the tail of a circular list.
  • PR_LoadLibrary Loads a referenced library.
  • PR_LocalTimeParameters Returns the time zone offset information that maps the specified PRExplodedTime to local time.
  • PR_Lock Locks a specified lock object.
  • PR_MALLOC Allocates memory of a specified size from the heap.
  • PR_MemMap Maps a section of a file to memory.
  • PR_MemUnmap Unmap a memory region that is backed by a memory-mapped file.
  • PR_MicrosecondsToInterval Converts standard clock microseconds to platform-dependent intervals.
  • PR_MillisecondsToInterval Converts standard clock milliseconds to platform-dependent intervals.
  • PR_MkDir Creates a directory with a specified name and access mode.
  • PR_MSEC_PER_SEC A convenience macro to improve code readability as well as to avoid mistakes in counting the number ...
  • PR_NAME NSPR Name.
  • PR_NetAddrToString Converts a character string to a network address.
  • PR_NETDB_BUF_SIZE Recommended size to use when specifying a scratch buffer for PR_GetHostByName, PR_GetHostByAddr, ...
  • PR_NEW Allocates memory of a specified size from the heap.
  • PR_NewCondVar Creates a new condition variable.
  • PR_NewLock Creates a new lock.
  • PR_NewMonitor Creates a new monitor object. The caller is responsible for the object and is expected to destroy ...
  • PR_NewPollableEvent Create a pollable event file descriptor.
  • PR_NewProcessAttr Creates a process attributes structure.
  • PR_NewTCPSocket Creates a new IPv4 TCP socket.
  • PR_NewThreadPrivateIndex Returns a new index for a per-thread private data table and optionally associates a destructor with ...
  • PR_NewUDPSocket Creates a new UDP socket.
  • PR_NEWZAP Allocates and clears memory from the heap for an instance of a given type.
  • PR_NEXT_LINK Returns the next element in a list.
  • PR_NormalizeTime Adjusts the fields of a clock/calendar time to their proper ranges, using a callback function.
  • PR_Notify Notifies a monitor that a change in state of the monitored data has occurred.
  • PR_NotifyAll Promotes all threads waiting on a specified monitor to a ready state.
  • PR_NotifyAllCondVar Notifies all of the threads waiting on a specified condition variable.
  • PR_NotifyCondVar Notifies a condition variable of a change in its associated monitored data.
  • PR_Now Returns the current time.
  • PR_NSEC_PER_MSEC A convenience macro to improve code readability as well as to avoid mistakes in counting the number ...
  • PR_NSEC_PER_SEC A convenience macro to improve code readability as well as to avoid mistakes in counting the number ...
  • PR_ntohl Performs 32-bit conversion from network byte order to host byte order.
  • PR_ntohs Performs 16-bit conversion from network byte order to host byte order.
  • PR_Open Opens a file for reading, writing, or both. Also used to create a file.
  • PR_OpenAnonFileMap Creates or opens a named semaphore with the specified name
  • PR_OpenDir Opens the directory with the specified pathname.
  • PR_OpenSemaphore Creates or opens a named semaphore with the specified name.
  • PR_OpenSharedMemory Opens an existing shared memory segment or, if one with the specified name doesn't exist, creates a ...
  • PR_Poll Detects when I/O is ready for a set of socket file descriptors.
  • PR_PopIOLayer Removes a layer from the stack.
  • PR_PostSemaphore Increments the value of a specified semaphore.
  • PR_PREV_LINK Returns the preceding element in a list.
  • PR_ProcessAttrSetInheritableFileMap Prepare filemap for export to my children processes via PR_CreateProcess.
  • PR_ProcessExit Causes an immediate, nongraceful, forced termination of the process.
  • PR_PushIOLayer Adds a layer onto the stack.
  • PR_QueueJob Queues a job to a thread pool for execution.
  • PR_QueueJobAccept Causes a job to be queued when a socket has a pending connection.
  • PR_QueueJob_Connect Causes a job to be queued when a socket can be connected.
  • PR_QueueJob_Read Causes a job to be queued when a socket becomes readable.
  • PR_QueueJob_Timer Causes a job to be queued when a timer expires.
  • PR_QueueJob_Write Causes a job to be queued when a socket becomes writable.
  • PR_Read Reads bytes from a file or socket.
  • PR_ReadDir Gets a pointer to the next entry in the directory.
  • PR_Realloc Resizes allocated memory on the heap.
  • PR_Recv Receives bytes from a connected socket.
  • PR_RecvFrom Receives bytes from a socket and stores the sending peer's address.
  • PR_REMOVE_AND_INIT_LINK Removes an element from a circular list and initializes the linkage.
  • PR_REMOVE_LINK Removes an element from a circular list.
  • PR_Rename Renames a file.
  • PR_RmDir Removes a directory with a specified name.
  • PR_SecondsToInterval Converts standard clock seconds to platform-dependent intervals.
  • PR_Seek Moves the current read-write file pointer by an offset expressed as a 32-bit integer.
  • PR_Seek64 Moves the current read-write file pointer by an offset expressed as a 64-bit integer.
  • PR_Send Sends bytes from a connected socket.
  • PR_SendTo Sends bytes a socket to a specified destination.
  • PR_SetConcurrency Creates extra virtual processor threads. Generally used with MP systems.
  • PR_SetError Sets error information within a thread context.
  1. 1
  2. 2
  3. 3
  4. 4