mozilla

Articles tagged: NSPR_API

Found 303 documents.

  • 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.
  • PR_SetErrorText Sets the text associated with an error.
  • PR_SetIPv6Enable This function was removed in NSPR 4.0 and does not exist any more.
  • PR_SetLibraryPath Registers a default library pathname with a runtime.
  • PR_SetPollableEvent Set a pollable event.
  • PR_SetSocketOption Retrieves the socket options set for a specified socket.
  • PR_SetThreadPriority Sets the priority of a specified thread.
  • PR_SetThreadPrivate Sets per-thread private data.
  • PR_Shutdown Shuts down part of a full-duplex connection on a specified socket.
  • PR_ShutdownThreadPool Notifies all threads in a thread pool to terminate.
  • PR_Sleep Causes the current thread to yield for a specified amount of time.
  • PR_STATIC_ASSERT Prevents code from compiling when an expression has the value FALSE at compile time.
  • PR_StringToNetAddr Converts a character string to a network address.
  • PR_strtod Converts the prefix of a decimal string to the nearest double-precision floating point number.
  • PR_Sync Synchronizes any buffered data for a file descriptor to its backing device (disk).
  • PR_TicksPerSecond Returns the number of ticks per second currently used to determine the value of PRIntervalTime.
  • PR_TransmitFile Sends a complete file across a connected socket.
  • PR_UnblockClockInterrupts Unblocks the timer signal used for preemptive scheduling.
  • PR_UnloadLibrary Unloads a library loaded with PR_LoadLibrary.
  • PR_Unlock Releases a specified lock object. Releasing an unlocked lock results in an error.
  • PR_USEC_PER_MSEC A convenience macro to improve code readability as well as to avoid mistakes in counting the number ...
  • PR_USEC_PER_SEC A convenience macro to improve code readability as well as to avoid mistakes in counting the number ...
  • PR_VERSION The format of the version string is MajorVersion.MinorVersion BuildDate.
  • PR_VersionCheck Compares the version of NSPR assumed by the caller (the imported version) with the version being ...
  • PR_Wait Waits for an application-defined state of the monitored data to exist.
  • PR_WaitCondVar Waits on a condition.
  • PR_WaitForPollableEvent Blocks the calling thread until the pollable event is set, and then atomically unsetting the event ...
  1. 1
  2. 2
  3. 3
  4. 4